Merge commit
14bf3a43f8b19b3b20d8f67b6fdc198fcae9888c
Merge branch 'ps/odb-pluggable-fsck'
The consistency checks for the object database (fsck) have been decoupled from the generic builtin implementation and moved into the backend-specific object source layers, making them pluggable for different object storage formats. * ps/odb-pluggable-fsck: builtin/fsck: move loose object verification into the loose source builtin/fsck: move multi-pack index verification into the packed source builtin/fsck: move bitmap verification into the packed source builtin/fsck: move reverse index verification into the packed source builtin/fsck: move packfile verification into the packed source odb: provide infrastructure for pluggable fsck checks builtin/fsck: don't check alternates with "--no-full" builtin/fsck: de-globalize option handling builtin/fsck: merge `fsck_obj_buffer()` and `fsck_obj()` builtin/fsck: use `fsck_obj_buffer()` when checking loose objects
Junio C Hamano <gitster@pobox.com> · 2026-09-15 18:07 UTC
Combined diff: only what this merge did beyond taking one side. Added lines are colored by the parent they came from; bold lines came from none of them; removed lines are red.
1 file changed,
+8
−0
modified odb/source-packed.c
| @@@ -2,17 -2,19 +2,22 @@@ | ||
| 2 | #include "abspath.h" | |
| 3 | #include "chdir-notify.h" | |
| 4 | #include "dir.h" | |
| 5 | + | #include "gettext.h" |
| 6 | + | #include "fsck.h" |
| 7 | #include "git-zlib.h" | |
| 8 | + | #include "hex.h" |
| 9 | #include "list-objects-filter-options.h" | |
| 10 | #include "mergesort.h" | |
| 11 | #include "midx.h" | |
| 12 | #include "odb/source-packed.h" | |
| 13 | #include "odb/streaming.h" | |
| 14 | + | #include "pack.h" |
| 15 | + | #include "pack-revindex.h" |
| 16 | #include "packfile.h" | |
| 17 | #include "pack-bitmap.h" | |
| 18 | + | #include "strbuf.h" |
| 19 | + | #include "progress.h" |
| 20 | + | #include "run-command.h" |
| 21 | ||
| 22 | static int find_pack_entry(struct odb_source_packed *store, | |
| 23 | const struct object_id *oid, | |