]> git.ipfire.org Git - thirdparty/git.git/commit
reset: drop `USE_THE_REPOSITORY_VARIABLE`
authorPatrick Steinhardt <ps@pks.im>
Wed, 1 Jul 2026 11:35:29 +0000 (13:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Jul 2026 16:56:52 +0000 (09:56 -0700)
commit5ce540bed335005046aad5969e1ae3bb1fc6cde5
tree0169756aaf96ac4eb98f720e6e2dd2793683cb11
parentca39c3511d89dd9c84a90b0a4dc394a950e08772
reset: drop `USE_THE_REPOSITORY_VARIABLE`

In "reset.c" we still have references to `the_repository`, even though
the only entry point into the file already receives a repository as
parameter.

Update all uses of `the_repository` to instead use the passed-in repo
and drop `USE_THE_REPOSITORY_VARIABLE`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reset.c