]> git.ipfire.org Git - thirdparty/git.git/commit
pager: stop using `the_repository`
authorPatrick Steinhardt <ps@pks.im>
Tue, 17 Dec 2024 06:43:49 +0000 (07:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Dec 2024 18:44:30 +0000 (10:44 -0800)
commit59b6131a677b0b45fb7fd54ba60dbf689b0a1797
tree990245a8aac2707520470276fa7f0e933f71d702
parent1f7e6478dcd9e7462c70a5784ae0d41ab25ced11
pager: stop using `the_repository`

Stop using `the_repository` in the "pager" subsystem by passing in a
repository when setting up the pager and when configuring it.

Adjust callers accordingly by using `the_repository`. While there may be
some callers that have a repository available in their context, this
trivial conversion allows for easier verification and bubbles up the use
of `the_repository` by one level.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
add-patch.c
builtin/am.c
builtin/blame.c
builtin/grep.c
builtin/help.c
builtin/log.c
builtin/var.c
diff.c
git.c
pager.c
pager.h