diff options
author | Johannes Sixt <j6t@kdbg.org> | 2013-08-20 09:15:26 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-20 18:20:53 (GMT) |
commit | e92527c97cfa26bf6e42381cf1b7035950c36e69 (patch) | |
tree | e35061802f74e6647f93d1d20e093b9bbbd27448 /git-difftool--helper.sh | |
parent | 15999998fbda60552742275570947431b57108ae (diff) | |
download | git-e92527c97cfa26bf6e42381cf1b7035950c36e69.zip git-e92527c97cfa26bf6e42381cf1b7035950c36e69.tar.gz git-e92527c97cfa26bf6e42381cf1b7035950c36e69.tar.bz2 |
stream_to_pack: xread does not guarantee to read all requested bytes
The deflate loop in bulk-checkin::stream_to_pack expects to get all bytes
from a file that it requests to read in a single function call. But it
used xread(), which does not give that guarantee. Replace it by
read_in_full().
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-difftool--helper.sh')
0 files changed, 0 insertions, 0 deletions