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

Stop using `the_repository` in `setup_git_directory_gently()` 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>
13 files changed:
builtin/check-ref-format.c
builtin/diff.c
builtin/hash-object.c
builtin/help.c
builtin/stripspace.c
git.c
http-fetch.c
imap-send.c
remote-curl.c
setup.c
setup.h
t/helper/test-path-utils.c
t/helper/test-subprocess.c