summaryrefslogtreecommitdiff
path: root/builtin-fetch-pack.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-04-30 11:43:37 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-04-30 11:43:37 -0700
commite4b9c36ca40a0869ee5fc64aaeabaf2655ef595b (patch)
tree9c532f7347fc0245cd961446ffc886656aa656a0 /builtin-fetch-pack.c
parentDocumentation: point git-prune users to git-gc (diff)
parentfetch-pack: brown paper bag fix (diff)
downloadtgif-e4b9c36ca40a0869ee5fc64aaeabaf2655ef595b.tar.xz
Merge branch 'maint'
* maint: fetch-pack: brown paper bag fix
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;