summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30c0312)
raw | patch | inline | side by side (parent: 30c0312)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Apr 2008 18:42:05 +0000 (11:42 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 30 Apr 2008 18:42:05 +0000 (11:42 -0700) |
When I applied Linus's patch from the list by hand somehow I ended
up reversing the logic by mistake. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
up reversing the logic by mistake. This fixes it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c | patch | blob | history |
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index fe8cfa0cb899d0db2f572e4fcf859dea9e895197..c97a42739d23ac7ed90ae207e5a3770c388e66a7 100644 (file)
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
return NULL;
commit = rev_list->item;
- if (commit->object.parsed)
+ if (!commit->object.parsed)
parse_commit(commit);
parents = commit->parents;