Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-04-17 19:21:40 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-18 00:39:04 +0300
commit5f658d1b577722111564f51962d6af33d1fe96c6 (patch)
tree013eb66125406727024d481aaf33511055356ec1 /pack-revindex.h
parentd975fe1fa57d57cfd21a97f96f4a94b99f50f2f4 (diff)
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 'pack-revindex.h')
0 files changed, 0 insertions, 0 deletions