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:
parent
30c0312fd1
commit
2d8bed969d
@ -123,7 +123,7 @@ static const unsigned char* get_rev(void)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
commit = rev_list->item;
|
commit = rev_list->item;
|
||||||
if (commit->object.parsed)
|
if (!commit->object.parsed)
|
||||||
parse_commit(commit);
|
parse_commit(commit);
|
||||||
parents = commit->parents;
|
parents = commit->parents;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user