1
0
mirror of https://github.com/git/git.git synced 2024-11-19 06:33:56 +01:00

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>
This commit is contained in:
Junio C Hamano 2008-04-30 11:42:05 -07:00
parent 30c0312fd1
commit 2d8bed969d

@ -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;