Similar to the recent work on rev-indexes [1], add checks for .bitmap files
to 'git fsck'.
Patch 1 includes the full details for .bitmap files.
Patch 2 includes a cleanup of ds/fsck-pack-revindex that I noticed while
preparing this series.
Thanks, Stolee
[1]
https://lore.kernel.org/git/pull.1512.git.1681748502.gitgitgadget@gmail.com/ (local)
Derrick Stolee (2):
fsck: verify checksums of all .bitmap files
fsck: use local repository
builtin/fsck.c | 10 +++++---
pack-bitmap.c | 44 +++++++++++++++++++++++++++++++++++
pack-bitmap.h | 2 ++
t/t5326-multi-pack-bitmaps.sh | 38 ++++++++++++++++++++++++++++++
4 files changed, 91 insertions(+), 3 deletions(-)
base-commit: 48d89b51b3bb8a60580c36731b96a7206ce1e5b9
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1526%2Fderrickstolee%2Ffsck-bitmap-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1526/derrickstolee/fsck-bitmap-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1526
--
gitgitgadget