summaryrefslogtreecommitdiff
path: root/t/t0041-usage.sh
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2018-09-13 11:02:25 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-17 13:49:41 -0700
commitcc6af73c029da23f7b2c98c60e4fba1ca2db215b (patch)
treeaf566e0acf04339045aa56a41a1cf3e2e67e04f8 /t/t0041-usage.sh
parentmulti-pack-index: fix 32-bit vs 64-bit size check (diff)
downloadtgif-cc6af73c029da23f7b2c98c60e4fba1ca2db215b.tar.xz
multi-pack-index: verify object offsets
The 'git multi-pack-index verify' command must verify the object offsets stored in the multi-pack-index are correct. There are two ways the offset chunk can be incorrect: the pack-int-id and the object offset. Replace the BUG() statement with a die() statement, now that we may hit a bad pack-int-id during a 'verify' command on a corrupt multi-pack-index, and it is covered by a test. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0041-usage.sh')
0 files changed, 0 insertions, 0 deletions