X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=strbuf.c;h=3ad2cc00160fbf24e1e4904bb37ce44e8c414ce5;hb=d899cf559b6a93006993752e7a89d13606380227;hp=9ff1b597c995780026a32a92fab78a780d60329a;hpb=7c4f050ae1e140a81f66b5cf92ad2c8673cfda8b;p=git.git diff --git a/strbuf.c b/strbuf.c index 9ff1b597c..3ad2cc001 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;