Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff-patch: Avoid emitting double-slashes in textual patch.
[gitweb.git]
/
builtin-archive.c
diff --git
a/builtin-archive.c
b/builtin-archive.c
index 32737d31621e8d1a900d944f97fcaae43d56a12e..f613ac25164beadb4874d8a07b6bbac62796a530 100644
(file)
--- a/
builtin-archive.c
+++ b/
builtin-archive.c
@@
-74,6
+74,7
@@
static int run_remote_archiver(const char *remote, int argc,
/* Now, start reading from fd[0] and spit it out to stdout */
rv = recv_sideband("archive", fd[0], 1, 2);
close(fd[0]);
+ close(fd[1]);
rv |= finish_connect(pid);
return !!rv;