summaryrefslogtreecommitdiff
path: root/t/t3008-ls-files-lazy-init-name-hash.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2018-09-13 11:02:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-17 13:49:41 -0700
commit53ad0407444ac4da835dbe9cf85c272b4065f3b4 (patch)
tree76c52fc66e481f756f2486e5e5f017fbd7e5c598 /t/t3008-ls-files-lazy-init-name-hash.sh
parentmulti-pack-index: add 'verify' verb (diff)
downloadtgif-53ad0407444ac4da835dbe9cf85c272b4065f3b4.tar.xz
multi-pack-index: verify bad header
When verifying if a multi-pack-index file is valid, we want the command to fail to signal an invalid file. Previously, we wrote an error to stderr and continued as if we had no multi-pack-index. Now, die() instead of error(). Add tests that check corrupted headers in a few ways: * Bad signature * Bad file version * Bad hash version * Truncated hash count * Extended hash count Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3008-ls-files-lazy-init-name-hash.sh')
0 files changed, 0 insertions, 0 deletions