summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-10-18 21:42:41 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-18 21:42:41 -0700
commit2c4cf667b0b516ffd547e58d7aaf7b584929715a (patch)
treeeb718210d6bdf27f93edd397375165c31f3ae3a8 /strbuf.c
parentUpdate draft release notes to 1.7.8 (diff)
parentstrbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline() (diff)
downloadtgif-2c4cf667b0b516ffd547e58d7aaf7b584929715a.tar.xz
Merge branch 'maint'
* maint: strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline()
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/strbuf.c b/strbuf.c
index 9ff1b597c9..3ad2cc0016 100644
--- 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;