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)
commit8b2707101aa52d4da98becea0aa910de13768488
treebd89341a787246d1dbb13a0d8260fb19c8c5af50
parent6c0850f2dd994baaf64ef580e466706ce17a860f
parent3ebbd00cf3c5a7c6f90e2fed8adaf0c5145fb4ac
Merge branch 'jh/strbuf-read-use-read-in-full' into maint

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