From 2d8bed969d5126053abe14ca331d14f287d462f5 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 30 Apr 2008 11:42:05 -0700 Subject: [PATCH] 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 --- builtin-fetch-pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.26.2