diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-30 11:42:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-30 11:42:05 -0700 |
commit | 2d8bed969d5126053abe14ca331d14f287d462f5 (patch) | |
tree | 2ae6374dab0d7e2b1c8a4e76c2aa2ac36944db76 /builtin-fetch-pack.c | |
parent | 30c0312fd182942c10421e77d2b3ec6284cc0468 (diff) | |
download | git-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.c | 2 |
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; |