Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack_object_header_buffer(): clear the size field upon error
[gitweb.git]
/
strbuf.c
diff --git
a/strbuf.c
b/strbuf.c
index 9ff1b597c995780026a32a92fab78a780d60329a..3ad2cc00160fbf24e1e4904bb37ce44e8c414ce5 100644
(file)
--- a/
strbuf.c
+++ b/
strbuf.c
@@
-357,7
+357,6
@@
int strbuf_getwholeline(struct strbuf *sb, FILE *fp, int term)
{
int ch;
- strbuf_grow(sb, 0);
if (feof(fp))
return EOF;