diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-09-13 11:02:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-17 13:49:41 -0700 |
commit | 53ad0407444ac4da835dbe9cf85c272b4065f3b4 (patch) | |
tree | 76c52fc66e481f756f2486e5e5f017fbd7e5c598 /INSTALL | |
parent | multi-pack-index: add 'verify' verb (diff) | |
download | tgif-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 'INSTALL')
0 files changed, 0 insertions, 0 deletions