]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/fsck: fix trivial dependence on `the_repository`
authorPatrick Steinhardt <ps@pks.im>
Mon, 23 Mar 2026 15:02:56 +0000 (16:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2026 15:33:10 +0000 (08:33 -0700)
commitda3ead3ee3a27df391932379b0b7283f2b17729f
treee545fe63b95cf1ddf41af70c7bab4451578f6600
parentfe5f16ecc39e2879e5b57925648984b78aaf6339
builtin/fsck: fix trivial dependence on `the_repository`

We have a bunch of sites in "builtin/fsck.c" that depend on
`the_repository` even though we already have a repository available, or
in cases where we can trivially make it available.

Refactor such sites to use the context-provided repository instead.

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