X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=strbuf.c;h=3ad2cc00160fbf24e1e4904bb37ce44e8c414ce5;hb=1e706eccd4051f0ff52d54aaf199496cc951a7bb;hp=9ff1b597c995780026a32a92fab78a780d60329a;hpb=8b482c0ccca22857709e7f483f0079d7be7327f6;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;