]> Kevux Git Server - rit/commit
builtin/fsck: stop using `the_repository` when marking objects
authorPatrick Steinhardt <ps@pks.im>
Mon, 23 Mar 2026 15:03:02 +0000 (16:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2026 15:33:11 +0000 (08:33 -0700)
commitcc050f00cd969a72fcdad34e2308c7b19c1e68e6
treead7aa2b75ee86a2399914c269b5b9daad756d89a
parent1c5f77b6103adae5d45ae9ff24e9945b8f8b76c8
builtin/fsck: stop using `the_repository` when marking objects

We implicitly rely on `the_repository` when marking objects for
connectivity. Refactor this to instead inject the repository via the
callback payload.

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