summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Stephen P. Smith <ischis2@cox.net>2019-09-11 21:11:02 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-09-18 14:15:01 -0700
commit47b27c96fad48cd85160dcfd53ddbe8753347110 (patch)
treeb72476c0bf3f1812b7a7585f23b1aa100bd0a9a6 /t
parentQuit passing 'now' to date code (diff)
downloadtgif-47b27c96fad48cd85160dcfd53ddbe8753347110.tar.xz
test_date.c: remove reference to GIT_TEST_DATE_NOW
Remove the reference to the GIT_TEST_DATE_NOW which is done in date.c. We can't get rid of the "x" variable, since it serves as a generic scratch variable for parsing later in the function. Signed-off-by: Stephen P. Smith <ischis2@cox.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/helper/test-date.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/t/helper/test-date.c b/t/helper/test-date.c
index deb5869343..099eff4f0f 100644
--- a/t/helper/test-date.c
+++ b/t/helper/test-date.c
@@ -104,7 +104,6 @@ static void getnanos(const char **argv)
int cmd__date(int argc, const char **argv)
{
const char *x;
- x = getenv("GIT_TEST_DATE_NOW");
argv++;
if (!*argv)