]> git.ipfire.org Git - thirdparty/git.git/commit
setup: stop using `the_repository` in `initialize_repository_version()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 19 May 2026 09:52:20 +0000 (11:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 May 2026 10:36:25 +0000 (19:36 +0900)
commit779fbcd9ebe8590e13ecd072d2e37dcbebd86ce5
tree8e43e34ba98b5801e9c7f2c0ae23b5977b58e94c
parent602254dfb032b47349076132ab07dd3951aa2c3d
setup: stop using `the_repository` in `initialize_repository_version()`

Stop using `the_repository` in `initialize_repository_version()` 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/clone.c
refs.c
setup.c
setup.h