summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-30 11:43:37 -0700
committerJunio C Hamano <gitster@pobox.com>2008-04-30 11:43:37 -0700
commite4b9c36ca40a0869ee5fc64aaeabaf2655ef595b (patch)
tree9c532f7347fc0245cd961446ffc886656aa656a0
parent8d308b35401b6abebb65aa97a322526ae11d7220 (diff)
parent2d8bed969d5126053abe14ca331d14f287d462f5 (diff)
downloadgit-e4b9c36ca40a0869ee5fc64aaeabaf2655ef595b.tar.gz
Merge branch 'maint'
* maint: fetch-pack: brown paper bag fix
-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;