Revision 3e14384b126cf9911a35dfda21f04abd4199aa54 authored by Junio C Hamano on 21 March 2014, 19:33:29 UTC, committed by Junio C Hamano on 21 March 2014, 19:33:29 UTC
Serving objects from a shallow repository needs to write a
new file to hold the temporary shallow boundaries but it was not
cleaned when we exit due to die() or a signal.

* jk/shallow-update-fix:
  shallow: verify shallow file after taking lock
  shallow: automatically clean up shallow tempfiles
  shallow: use stat_validity to check for up-to-date file
2 parent s 4291cc1 + 7839632
Raw File
sideband.h
#ifndef SIDEBAND_H
#define SIDEBAND_H

#define SIDEBAND_PROTOCOL_ERROR -2
#define SIDEBAND_REMOTE_ERROR -1

int recv_sideband(const char *me, int in_stream, int out);
ssize_t send_sideband(int fd, int band, const char *data, ssize_t sz, int packet_max);

#endif
back to top