]> git.99rst.org Git - git.git/commit
config: pass repo to `git_config_get_expiry_in_days()`
authorPatrick Steinhardt <redacted>
Tue, 13 Aug 2024 09:14:03 +0000 (11:14 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
config.c
config.h
rerere.c
git clone https://git.99rst.org/PROJECT