зеркало из https://github.com/microsoft/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 <gitster@pobox.com>
This commit is contained in:
Родитель
30c0312fd1
Коммит
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче