Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
start_command(), .in/.out/.err = -1: Callers must close the file descriptor
[gitweb.git]
/
builtin-send-pack.c
diff --git
a/builtin-send-pack.c
b/builtin-send-pack.c
index 8afb1d0bca0635dc22f658455477d9fada231290..ba9bc91a5c513273ba837dd04aa568f8f67b7121 100644
(file)
--- a/
builtin-send-pack.c
+++ b/
builtin-send-pack.c
@@
-71,6
+71,7
@@
static int pack_objects(int fd, struct ref *refs)
refs = refs->next;
}
+ close(po.in);
if (finish_command(&po))
return error("pack-objects died with strange error");
return 0;