summaryrefslogtreecommitdiff
path: root/Documentation/i18n.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-08-19 11:16:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-08-22 14:51:02 -0700
commit5ea82279c066f51d446b344e82492a3554409d7d (patch)
tree5273d61443d17a427ce326d6822680c640c3a05e /Documentation/i18n.txt
parentt4200: parameterize "rerere gc" custom expiry test (diff)
downloadtgif-5ea82279c066f51d446b344e82492a3554409d7d.tar.xz
rerere: represent time duration in timestamp_t internally
The two configuration variables, gc.rerereResolved and gc.rerereUnresolved, are measured in days and are passed as such into the prune_one() helper function, which worked in time_t to see if an entry in the rerere database is past its expiry. Instead, have the caller turn the number of days into the expiry timestamp. Further, use timestamp_t instead of time_t. This will make it possible to extend the way the configuration variable is spelled by using date.c::parse_expiry_date() that gives the expiry timestamp in timestamp_t. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/i18n.txt')
0 files changed, 0 insertions, 0 deletions