]> git.99rst.org Git - git.git/commit
refs: remove remaining uses of `the_repository`
authorPatrick Steinhardt <redacted>
Thu, 16 Jul 2026 05:33:07 +0000 (07:33 +0200)
committerJunio C Hamano <redacted>
Thu, 16 Jul 2026 14:40:22 +0000 (07:40 -0700)
commitb1296cb1aafd29c69e3b2a526b19c091f7fe5cf9
treee8d1ce5342a1e3e64832602704fd8607cf4d6a6d
parente2533e0915ab1e40cf058669c4e8755d693366a6
refs: remove remaining uses of `the_repository`

There are still a couple of callsites that use `the_repository`. Convert
these to instead use a repository injected by the caller. This allows us
to remove `USE_THE_REPOSITORY_VARIABLE`.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
branch.c
builtin/branch.c
builtin/check-ref-format.c
builtin/checkout.c
builtin/merge.c
builtin/worktree.c
refs.c
refs.h
git clone https://git.99rst.org/PROJECT