mirror of
https://github.com/git/git.git
synced 2026-01-10 01:56:42 +00: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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user