]> git.ipfire.org Git - thirdparty/git.git/commit
refs/files: move fsck functions into global scope
authorPatrick Steinhardt <ps@pks.im>
Mon, 12 Jan 2026 09:02:51 +0000 (10:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Jan 2026 14:55:40 +0000 (06:55 -0800)
commite615643d2ecf2d4e44b0ca29cf949a5212618245
treee9d13d2a13cddebbee3b6c54f8f75e9785f86099
parentdf971a7c42fa5506cb7e845ac175104093c35e8d
refs/files: move fsck functions into global scope

When performing consistency checks we pass the functions that perform
the verification down the calling stack. This is somewhat unnecessary
though, as the set of functions doesn't ever change.

Simplify the code by moving the array into global scope and remove the
parameter.

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