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