diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-09-13 11:02:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-17 13:49:41 -0700 |
commit | cc6af73c029da23f7b2c98c60e4fba1ca2db215b (patch) | |
tree | af566e0acf04339045aa56a41a1cf3e2e67e04f8 /t/t2105-update-index-gitfile.sh | |
parent | multi-pack-index: fix 32-bit vs 64-bit size check (diff) | |
download | tgif-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/t2105-update-index-gitfile.sh')
0 files changed, 0 insertions, 0 deletions