summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/README
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-04-17 16:21:38 +0000
committerJunio C Hamano <gitster@pobox.com>2023-04-17 14:39:04 -0700
commit0d30feef3c55f63f8db1dc1e52071090d16dfaaf (patch)
treee5420913efcb4b5b70d9332b3923804601b55927 /contrib/persistent-https/README
parent3c63503759136836dee84ea28835b1b4ef8882bf (diff)
downloadgit-0d30feef3c55f63f8db1dc1e52071090d16dfaaf.tar.gz
git-0d30feef3c55f63f8db1dc1e52071090d16dfaaf.zip
fsck: create scaffolding for rev-index checks
The 'fsck' builtin checks many of Git's on-disk data structures, but does not currently validate the pack rev-index files (a .rev file to pair with a .pack and .idx file). Before doing a more-involved check process, create the scaffolding within builtin/fsck.c to have a new error type and add that error type when the API method verify_pack_revindex() returns an error. That method does nothing currently, but we will add checks to it in later changes. For now, check that 'git fsck' succeeds without any errors in the normal case. Future checks will be paired with tests that corrupt the .rev file appropriately. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/README')
0 files changed, 0 insertions, 0 deletions