summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-04-17 16:21:39 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-17 14:39:04 -0700
commitd975fe1fa57d57cfd21a97f96f4a94b99f50f2f4 (patch)
tree67bcfd01f1d9300f1840f601a10ca5efd5de28e8 /commit.c
parent0d30feef3c55f63f8db1dc1e52071090d16dfaaf (diff)
fsck: check rev-index checksums
The previous change added calls to verify_pack_revindex() in builtin/fsck.c, but the implementation of the method was left empty. Add the first and most-obvious check to this method: checksum verification. While here, create a helper method in the test script that makes it easy to adjust the .rev file and check that 'git fsck' reports the correct error message. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions