Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
shell doc: remove stray "+" in example
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index ae8550eb48ae1c96dff2fcd1e47333cee7bc79fd..90d47da8a902f24bb6a7ae63654a104626751b1e 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-439,7
+439,8
@@
static int find_common(struct fetch_pack_args *args,
}
strbuf_release(&req_buf);
- consume_shallow_list(args, fd[0]);
+ if (!got_ready || !no_done)
+ consume_shallow_list(args, fd[0]);
while (flushes || multi_ack) {
int ack = get_ack(fd[0], result_sha1);
if (ack) {