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

Stop using `the_repository` in `init_db()` 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
builtin/init-db.c
setup.c
setup.h