Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 19 Oct 2011 04:42:41 +0000
(21:42 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 19 Oct 2011 04:42:41 +0000
(21:42 -0700)
* maint:
strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline()
strbuf.c
patch
|
blob
|
history
raw
(from parent 1:
08cfdbb
)
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;