diff options
author | Jeff King <peff@peff.net> | 2014-11-13 06:04:52 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-13 12:57:28 -0800 |
commit | 073281e2aea7177e27de8a46c5463e2f83833412 (patch) | |
tree | 0114a5f4f38d2005021f3057d65372555f9dcb56 /t/t5100/msg0007 | |
parent | Git 2.1 (diff) | |
download | tgif-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/t5100/msg0007')
0 files changed, 0 insertions, 0 deletions