]> Kevux Git Server - rit/commit
setup: stop using `the_repository` in `create_reference_database()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 19 May 2026 09:52:21 +0000 (11:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 May 2026 10:36:25 +0000 (19:36 +0900)
commit15053894cb55afdd50b938df9c89d98d2af0548a
treebd490219b0723454093711ae6ff8f73aa1d8871b
parent779fbcd9ebe8590e13ecd072d2e37dcbebd86ce5
setup: stop using `the_repository` in `create_reference_database()`

Stop using `the_repository` in `create_reference_database()` 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
setup.c
setup.h