]> git.99rst.org Git - git.git/commit
builtin/refs: drop `the_repository`
authorPatrick Steinhardt <redacted>
Mon, 6 Jul 2026 13:27:04 +0000 (15:27 +0200)
committerJunio C Hamano <redacted>
Mon, 6 Jul 2026 14:45:57 +0000 (07:45 -0700)
commit5a183de7114b0139a8a91a34c794e8be9cf9f851
tree11b6017c079dd8c050d6bc19ff5db6725ba6dd61
parent0fae78c9d55efe705877ea537fe42c59164ccd94
builtin/refs: drop `the_repository`

We still have a couple of uses of `the_repository` in "builtin/refs.c".
All of those are trivial to convert though as the command always
requires a repository to exist.

Convert them to use the passed-in repository and drop
`USE_THE_REPOSITORY_VARIABLE`.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/refs.c
git clone https://git.99rst.org/PROJECT