]> git.ipfire.org Git - thirdparty/git.git/commit
reset: drop `USE_THE_REPOSITORY_VARIABLE`
authorPatrick Steinhardt <ps@pks.im>
Wed, 3 Jun 2026 16:14:01 +0000 (18:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Jun 2026 00:04:24 +0000 (09:04 +0900)
commitd259bfaeee597edd49abfa45de80746864aa9e4f
tree0169756aaf96ac4eb98f720e6e2dd2793683cb11
parentefd4a968d8a6bf501afdd1c01f741ef77669950e
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