diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-05 00:21:37 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-05 00:55:19 -0800 |
commit | 7efbff7531af4281487d54c1dc1401308d988e33 (patch) | |
tree | 025cfaf2225fbc027534d0d4ccd31a45cd4be38f /t/t4103-apply-binary.sh | |
parent | fsck: fix broken loose object check. (diff) | |
download | tgif-7efbff7531af4281487d54c1dc1401308d988e33.tar.xz |
unpack_sha1_file(): detect corrupt loose object files.
We did not detect broken loose object files, either when
underlying inflate() signalled the breakage, nor inflate()
finished and we had garbage trailing at the end. We do better
now.
We also make unpack_sha1_file() a static function to
sha1_file.c, since it is not used by anybody outside.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t4103-apply-binary.sh')
0 files changed, 0 insertions, 0 deletions