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

Refactor `git_config_get_expiry_in_days()` 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>
config.c
config.h
rerere.c