git/refs
Patrick Steinhardt 06d6ead762 refs/reftable: introduce generic checks for refs
In a preceding commit we have extracted generic checks for both direct
and symbolic refs that apply for all backends. Wire up those checks for
the "reftable" backend.

Note that this is done by iterating through all refs manually with the
low-level reftable ref iterator. We explicitly don't want to use the
higher-level iterator that is exposed to users of the reftable backend
as that iterator may swallow for example broken refs.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-01-12 06:55:41 -08:00
..
debug.c Merge branch 'gf/maintenance-is-needed-fix' 2025-12-30 12:58:20 +09:00
files-backend.c refs/files: introduce function to perform normal ref checks 2026-01-12 06:55:41 -08:00
iterator.c refs: drop infrastructure to peel via iterators 2025-11-04 07:32:25 -08:00
packed-backend.c Merge branch 'kn/maintenance-is-needed' 2025-11-21 09:14:17 -08:00
packed-backend.h
ref-cache.c refs: drop infrastructure to peel via iterators 2025-11-04 07:32:25 -08:00
ref-cache.h
refs-internal.h refs: add a `optimize_required` field to `struct ref_storage_be` 2025-11-10 09:28:48 -08:00
reftable-backend.c refs/reftable: introduce generic checks for refs 2026-01-12 06:55:41 -08:00