diff options
author | Stephen P. Smith <ischis2@cox.net> | 2019-09-11 21:11:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-09-12 11:03:51 -0700 |
commit | 29f4332e66abf41e90d2f38e62370a42d8549c7e (patch) | |
tree | c4080bd9f5e7f2bad875eaf63fdff0dfaa79e3db /t/t4022-diff-rewrite.sh | |
parent | Git 2.23 (diff) | |
download | tgif-29f4332e66abf41e90d2f38e62370a42d8549c7e.tar.xz |
Quit passing 'now' to date code
Commit b841d4ff43 (Add `human` format to test-tool, 2019-01-28) added
a get_time() function which allows $GIT_TEST_DATE_NOW in the
environment to override the current time. So we no longer need to
interpret that variable in cmd__date().
Therefore, we can stop passing the "now" parameter down through the
date functions, since nobody uses them. Note that we do need to make
sure all of the previous callers that took a "now" parameter are
correctly using get_time().
Signed-off-by: Stephen P. Smith <ischis2@cox.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4022-diff-rewrite.sh')
0 files changed, 0 insertions, 0 deletions