]> git.99rst.org Git - git.git/commit
builtin/fsck: stop using `the_repository` when checking refs
authorPatrick Steinhardt <redacted>
Mon, 23 Mar 2026 15:02:58 +0000 (16:02 +0100)
committerJunio C Hamano <redacted>
Mon, 23 Mar 2026 15:33:10 +0000 (08:33 -0700)
commit3ea779432d28b0229ef2a64e6a73a9018ad4c940
tree1a016a67abe6aa051550d6d56059ca63557504e0
parent4c44db7dc55c1aac0d0414ed22c27ea965cc2c77
builtin/fsck: stop using `the_repository` when checking refs

We implicitly rely on `the_repository` when checking refs. Refactor this
to instead inject the repository via the callback payload.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fsck.c
git clone https://git.99rst.org/PROJECT