]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jh/strbuf-read-use-read-in-full'
authorJunio C Hamano <gitster@pobox.com>
Tue, 25 Aug 2015 21:57:05 +0000 (14:57 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Aug 2015 21:57:06 +0000 (14:57 -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