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>
Stephen P. Smith committed
Sep 11, 2019 at 21:11 UTC
47b27c96fad48cd85160dcfd53ddbe8753347110
1 file changed
-1
t/helper/test-date.c
-1
@@ -104,7 +104,6 @@ static void getnanos(const char **argv)
104
int cmd__date(int argc, const char **argv)
105
{
106
const char *x;
107
- x = getenv("GIT_TEST_DATE_NOW");
107
108
argv++;
109
if (!*argv)