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

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