]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/fsck: stop using `the_repository` in error reporting
authorPatrick Steinhardt <ps@pks.im>
Mon, 23 Mar 2026 15:03:03 +0000 (16:03 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2026 15:33:11 +0000 (08:33 -0700)
commit6fea405bb92100a229c0ee83c98e062e271577cd
tree38a797827ef45f66808b555d8285bf00d79224b7
parentcc050f00cd969a72fcdad34e2308c7b19c1e68e6
builtin/fsck: stop using `the_repository` in error reporting

In the preceding commit we have introduced the repository into `struct
fsck_object_report`. This allows us to drop remaining uses of the global
`the_repository` variable.

Drop them and remove `USE_THE_REPOSITORY_VARIABLE`.

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