summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-30 11:42:05 -0700
committerJunio C Hamano <gitster@pobox.com>2008-04-30 11:42:05 -0700
commit2d8bed969d5126053abe14ca331d14f287d462f5 (patch)
tree2ae6374dab0d7e2b1c8a4e76c2aa2ac36944db76 /builtin-fetch-pack.c
parent30c0312fd182942c10421e77d2b3ec6284cc0468 (diff)
downloadgit-2d8bed969d5126053abe14ca331d14f287d462f5.tar.gz
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>
Diffstat (limited to 'builtin-fetch-pack.c')
-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;