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)
commit3b281d128180cd583db7c7b852909255ffd8f627
treecd3e1919879fe2a3b2522e44058418169bb1e6ff
parentff86faf2fa02bc21933c9e1dcc75c8d81b3e104a
parent3ebbd00cf3c5a7c6f90e2fed8adaf0c5145fb4ac
Merge branch 'jh/strbuf-read-use-read-in-full'

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
strbuf.c