Merge branch 'js/xread-in-full'
authorJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2013 21:59:46 +0000 (14:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2013 21:59:46 +0000 (14:59 -0700)
A call to xread() was used without a loop around to cope with short
read in the codepath to stream new contents to a pack.

* js/xread-in-full:
stream_to_pack: xread does not guarantee to read all requested bytes

Trivial merge