Revision eca143b72194836b758522f182d4f9b24b9c5967 authored by Junio C Hamano on 15 July 2015, 18:41:20 UTC, committed by Junio C Hamano on 15 July 2015, 18:41:20 UTC
"git fetch --depth=<depth>" and "git clone --depth=<depth>" issued
a shallow transfer request even to an upload-pack that does not
support the capability.

* me/fetch-into-shallow-safety:
  fetch-pack: check for shallow if depth given
2 parent s 697f67a + eb86a50
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