]> git.ipfire.org Git - thirdparty/git.git/commit
config: pass repo to `git_config_get_expiry()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:13:59 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:03 +0000 (10:01 -0700)
commit87aace129ef39fc52ca26e8d31c356c8d05ea910
treeb058e5e73f83b9fe65773fc2189a10f195163154
parentd8b772182c50430a85963ce92696fc077dafa913
config: pass repo to `git_config_get_expiry()`

Refactor `git_config_get_expiry()` to accept a `struct repository` such
that we can get rid of the implicit dependency on `the_repository`.
Rename the function accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c
config.c
config.h
read-cache.c