]> asedeno.scripts.mit.edu Git - git.git/blobdiff - fetch-clone.c
Prepare larger packet buffer for upload-pack protocol.
[git.git] / fetch-clone.c
index b62feac17d781f1223e6d01fa0b007afcccf909b..b632ca0438b378944b37a7d64fd508ea3f7f470f 100644 (file)
@@ -115,7 +115,7 @@ static pid_t setup_sideband(int sideband, const char *me, int fd[2], int xd[2])
                die("%s: unable to fork off sideband demultiplexer", me);
        if (!side_pid) {
                /* subprocess */
-               char buf[DEFAULT_PACKET_MAX];
+               char buf[LARGE_PACKET_MAX];
 
                close(fd[0]);
                if (xd[0] != xd[1])