Merge branch 'maint'

* maint:
  strbuf.c: remove unnecessary strbuf_grow() from strbuf_getwholeline()
maint
Junio C Hamano 2011-10-18 21:42:41 -07:00
commit 2c4cf667b0
1 changed files with 0 additions and 1 deletions

View File

@ -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;