]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/fsck: move generic HEAD check into `refs_fsck()`
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 Jan 2026 09:03:05 +0000 (10:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2026 14:55:41 +0000 (06:55 -0800)
commit9727336b31c055e4507248703b8a4a8ed039dc06
tree5833f6aa7d7609de428745188d3c4eba40517534
parent46d611cadab500ca2b458b2fda7008c41b174011
builtin/fsck: move generic HEAD check into `refs_fsck()`

Move the check that detects "HEAD" refs that do not point at a branch
into `refs_fsck()`. This follows the same motivation as the preceding
commit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fsck-msgids.adoc
builtin/fsck.c
fsck.h
refs.c
t/t0602-reffiles-fsck.sh
t/t1450-fsck.sh