Merge branch 'js/xread-in-full'
commit0a3bc7d298408951630bbc6ac8e773659f900943
authorJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2013 21:59:46 +0000 (11 14:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Sep 2013 21:59:46 +0000 (11 14:59 -0700)
treef75c7793a0df5b526f50c715637657fdae304333
parent42e5fb2bf1cc6e805c703a921aeb804993283320
parente92527c97cfa26bf6e42381cf1b7035950c36e69
Merge branch 'js/xread-in-full'

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