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

Stop using `the_repository` in `verify_non_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/checkout.c
builtin/grep.c
builtin/reset.c
revision.c
setup.c
setup.h