aboutsummaryrefslogtreecommitdiff
path: root/t/t0006-date.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2014-11-13 06:04:52 -0500
committerJunio C Hamano <gitster@pobox.com>2014-11-13 12:57:28 -0800
commit073281e2aea7177e27de8a46c5463e2f83833412 (patch)
tree0114a5f4f38d2005021f3057d65372555f9dcb56 /t/t0006-date.sh
parent6c4ab27f2378ce67940b4496365043119d7ffff2 (diff)
downloadgit-073281e2aea7177e27de8a46c5463e2f83833412.tar.gz
git-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/t0006-date.sh')
0 files changed, 0 insertions, 0 deletions