summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-11-13 06:04:52 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-13 12:57:28 -0800
commit073281e2aea7177e27de8a46c5463e2f83833412 (patch)
tree0114a5f4f38d2005021f3057d65372555f9dcb56 /t
parentGit 2.1 (diff)
downloadtgif-073281e2aea7177e27de8a46c5463e2f83833412.tar.xz
pass TIME_DATE_NOW to approxidate future-check
The approxidate functions accept an extra "now" parameter to avoid calling time() themselves. We use this in our test suite to make sure we have a consistent time for computing relative dates. However, deep in the bowels of approxidate, we also call time() to check whether possible dates are far in the future. Let's make sure that the "now" override makes it to that spot, too, so we can consistently test that feature. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions