git/odb
Patrick Steinhardt a51b77aa1d odb: provide infrastructure for pluggable fsck checks
The on-disk consistency checks in git-fsck(1) are conceptually
backend-specific: while connectivity checks and object-level parsing
checks are generic, verifying the physical integrity of packfiles and
loose objects is meaningful only to backends that use these formats:
Having these checks live in "builtin/fsck.c" violates that layering,
because it forces the command to reach directly into format-specific
internals.

Provide new infrastructure to make these format-specific checks
pluggable and implement stubs for the different source types we already
have. In subsequent commits we'll move functionality over piece by
piece.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-09-11 09:14:44 -07:00
..
source-files.c odb: provide infrastructure for pluggable fsck checks 2026-09-11 09:14:44 -07:00
source-files.h Merge branch 'ps/odb-make-creation-pluggable' 2026-08-20 07:30:52 -07:00
source-inmemory.c odb: provide infrastructure for pluggable fsck checks 2026-09-11 09:14:44 -07:00
source-inmemory.h odb/source: introduce function to map source type to name 2026-08-06 21:24:25 -07:00
source-loose.c odb: provide infrastructure for pluggable fsck checks 2026-09-11 09:14:44 -07:00
source-loose.h odb/source: introduce function to map source type to name 2026-08-06 21:24:25 -07:00
source-packed.c odb: provide infrastructure for pluggable fsck checks 2026-09-11 09:14:44 -07:00
source-packed.h odb/source: introduce function to map source type to name 2026-08-06 21:24:25 -07:00
source.c odb/source: introduce function to map source type to name 2026-08-06 21:24:25 -07:00
source.h odb: provide infrastructure for pluggable fsck checks 2026-09-11 09:14:44 -07:00
streaming.c Merge branch 'ps/odb-eagerly-load-alternates' into ps/odb-pluggable-fsck 2026-08-25 18:07:31 -07:00
streaming.h odb/streaming: unify function names to create new streams 2026-08-05 09:42:50 -07:00
transaction.c odb/streaming: consolidate read and write streams 2026-08-05 09:42:50 -07:00
transaction.h odb/streaming: consolidate read and write streams 2026-08-05 09:42:50 -07:00