]> git.ipfire.org Git - thirdparty/git.git/commit
setup: stop using `the_repository` in `enter_repo()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 19 May 2026 09:52:12 +0000 (11:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 May 2026 10:36:24 +0000 (19:36 +0900)
commitea1d0f886da89edb28a0a64f19e7f4a67a50c6ef
tree15ebc661badcfa7457b4adfd0151c3cceaa96e69
parent920dba458188c41b4c2d354101c662bfedf6fe02
setup: stop using `the_repository` in `enter_repo()`

Stop using `the_repository` in `enter_repo()` and instead accept the
repository as a parameter. The injection of `the_repository` is thus
bumped one level higher, where callers now pass it in explicitly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c
builtin/upload-archive.c
builtin/upload-pack.c
daemon.c
http-backend.c
setup.c
setup.h