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

Stop using `the_repository` in `verify_filename()` 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/grep.c
builtin/reset.c
builtin/rev-parse.c
revision.c
setup.c
setup.h