mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
upload-pack: Do not announce sideband support when it is not supported
On Windows we currently don't support sideband communicaton. The protocol implementation is already disabled, but it was still announced in the server capabilities.
This commit is contained in:
@@ -596,8 +596,11 @@ static void receive_needs(void)
|
||||
|
||||
static int send_ref(const char *refname, const unsigned char *sha1, int flag, void *cb_data)
|
||||
{
|
||||
static const char *capabilities = "multi_ack thin-pack side-band"
|
||||
" side-band-64k ofs-delta shallow no-progress";
|
||||
static const char *capabilities = "multi_ack thin-pack"
|
||||
#ifndef __MINGW32__
|
||||
" side-band side-band-64k"
|
||||
#endif
|
||||
" ofs-delta shallow no-progress";
|
||||
struct object *o = parse_object(sha1);
|
||||
|
||||
if (!o)
|
||||
|
||||
Reference in New Issue
Block a user