summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-30 20:42:05 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-30 20:42:05 +0200
commit2d8bed969d5126053abe14ca331d14f287d462f5 (patch)
tree2ae6374dab0d7e2b1c8a4e76c2aa2ac36944db76
parentMerge branch 'maint-1.5.4' into maint (diff)
downloadgit-2d8bed969d5126053abe14ca331d14f287d462f5.tar.xz
git-2d8bed969d5126053abe14ca331d14f287d462f5.zip
fetch-pack: brown paper bag fix
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>
-rw-r--r--builtin-fetch-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c
index fe8cfa0cb8..c97a42739d 100644
--- a/builtin-fetch-pack.c
+++ b/builtin-fetch-pack.c
@@ -123,7 +123,7 @@ static const unsigned char* get_rev(void)
return NULL;
commit = rev_list->item;
- if (commit->object.parsed)
+ if (!commit->object.parsed)
parse_commit(commit);
parents = commit->parents;