зеркало из https://github.com/microsoft/git.git
Avoid wasting memory while keeping track of what we have during fetch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
60ab26de99
Коммит
98533b90cb
1
fetch.c
1
fetch.c
|
@ -207,6 +207,7 @@ int pull(char *target)
|
|||
unsigned char sha1[20];
|
||||
int fd = -1;
|
||||
|
||||
save_commit_buffer = 0;
|
||||
if (write_ref && current_ref) {
|
||||
fd = lock_ref_sha1(write_ref, current_ref);
|
||||
if (fd < 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче