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

Stop using `the_repository` in `upgrade_repository_format()` 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>
list-objects-filter-options.c
repository.h
setup.c
worktree.c