From: Junio C Hamano Date: Wed, 30 Apr 2008 18:42:05 +0000 (-0700) Subject: fetch-pack: brown paper bag fix X-Git-Tag: v1.5.5.2~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2d8bed969d5126053abe14ca331d14f287d462f5;p=git.git 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 --- diff --git a/builtin-fetch-pack.c b/builtin-fetch-pack.c index fe8cfa0cb..c97a42739 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;