]> Kevux Git Server - rit/commit
mailinfo: stop using `the_repository`
authorPatrick Steinhardt <ps@pks.im>
Tue, 17 Dec 2024 06:43:55 +0000 (07:43 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Dec 2024 18:44:31 +0000 (10:44 -0800)
commit71e5afee8be62c9602838f859592539d8728cc56
tree10ad5b0025baef9f9632a1c7b442f15a1f9ac976
parentb4c476c43a1125300614d2e9ec9dedfa44355515
mailinfo: stop using `the_repository`

Stop using `the_repository` in the "mailinfo" subsystem by passing in
a repository when setting up the mailinfo structure.

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>
builtin/am.c
builtin/mailinfo.c
mailinfo.c
mailinfo.h