]> git.ipfire.org Git - thirdparty/git.git/commit
refs/files: introduce function to perform normal ref checks
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 Jan 2026 09:02:59 +0000 (10:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2026 14:55:41 +0000 (06:55 -0800)
commitae38c3a359f4834d27f511f1fa9b982f5ad55c6a
tree81aa236a3eeed7938adecddfc3fbf32b4758b2ab
parentdcecffb616762893c44f98d556493144edbcd498
refs/files: introduce function to perform normal ref checks

In a subsequent commit we'll introduce new generic checks for direct
refs. These checks will be independent of the actual backend.

Introduce a new function `refs_fsck_ref()` that will be used for this
purpose. At the current point in time it's still empty, but it will get
populated in a subsequent commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs.h
refs/files-backend.c