Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ak/submodule-foreach-quoting'
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index a0e0350ae6bdf338b3c11c21fc050edb60c88569..1042448fa0b321e8826f0fdb69c89810c731cf5d 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-747,6
+747,10
@@
static int get_pack(struct fetch_pack_args *args,
close(cmd.out);
}
+ if (!use_sideband)
+ /* Closed by start_command() */
+ xd[0] = -1;
+
ret = finish_command(&cmd);
if (!ret || (args->check_self_contained_and_connected && ret == 1))
args->self_contained_and_connected =