config: add git_config_get_expiry() from gc.c
commit77d67977cac46aa6c07c66ce9e2470f00feb9d20
authorChristian Couder <christian.couder@gmail.com>
Mon, 27 Feb 2017 18:00:13 +0000 (27 19:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Mar 2017 21:34:54 +0000 (1 13:34 -0800)
tree580440bf17327f2d08c337d6f05cbb0836895c26
parent0d59ffb47ed58f519bfa2796d38364496735ab19
config: add git_config_get_expiry() from gc.c

This function will be used in a following commit to get the expiration
time of the shared index files from the config, and it is generic
enough to be put in "config.c".

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/gc.c
cache.h
config.c