]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jh/strbuf-read-use-read-in-full' into maint
authorJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:50 +0000 (19:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Sep 2015 02:17:50 +0000 (19:17 -0700)
strbuf_read() used to have one extra iteration (and an unnecessary
strbuf_grow() of 8kB), which was eliminated.

* jh/strbuf-read-use-read-in-full:
  strbuf_read(): skip unnecessary strbuf_grow() at eof

1  2 
strbuf.c

diff --cc strbuf.c
Simple merge