diff --git a/fetch-pack.c b/fetch-pack.c index 1530a94794..48670f9c62 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -564,6 +564,7 @@ static int fetch_pack(int fd[2], int nr_match, char **match) fprintf(stderr, "Server supports multi_ack\n"); multi_ack = 1; } +#ifndef __MINGW32__ if (server_supports("side-band-64k")) { if (verbose) fprintf(stderr, "Server supports side-band-64k\n"); @@ -574,6 +575,7 @@ static int fetch_pack(int fd[2], int nr_match, char **match) fprintf(stderr, "Server supports side-band\n"); use_sideband = 1; } +#endif if (!ref) { packet_flush(fd[1]); die("no matching remote head"); diff --git a/upload-pack.c b/upload-pack.c index 0ce8ceeeac..ec0f0cbfbe 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -537,10 +537,12 @@ static void receive_needs(void) use_thin_pack = 1; if (strstr(line+45, "ofs-delta")) use_ofs_delta = 1; +#ifndef __MINGW32__ if (strstr(line+45, "side-band-64k")) use_sideband = LARGE_PACKET_MAX; else if (strstr(line+45, "side-band")) use_sideband = DEFAULT_PACKET_MAX; +#endif /* We have sent all our refs already, and the other end * should have chosen out of them; otherwise they are