projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ab26d
)
Avoid wasting memory while keeping track of what we have during fetch.
author
Junio C Hamano
<junkio@cox.net>
Thu, 15 Sep 2005 22:06:39 +0000
(15:06 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Thu, 15 Sep 2005 22:06:39 +0000
(15:06 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
fetch.c
patch
|
blob
|
history
diff --git
a/fetch.c
b/fetch.c
index
7db35f0
..
71c4f41
100644
(file)
--- a/
fetch.c
+++ b/
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)