aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-04-17 16:21:40 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-17 14:39:04 -0700
commit5f658d1b577722111564f51962d6af33d1fe96c6 (patch)
tree013eb66125406727024d481aaf33511055356ec1 /builtin/commit.c
parentfsck: check rev-index checksums (diff)
downloadgit-5f658d1b577722111564f51962d6af33d1fe96c6.tar.gz
git-5f658d1b577722111564f51962d6af33d1fe96c6.zip
fsck: check rev-index position values
When checking a rev-index file, it may be helpful to identify exactly which positions are incorrect. Compare the rev-index to a freshly-computed in-memory rev-index and report the comparison failures. This additional check (on top of the checksum validation) can help find files that were corrupt by a single bit flip on-disk or perhaps were written incorrectly due to a bug in Git. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions