[PATCH 2/2] test_date.c: Remove reference to GIT_TEST_DATE_NOW
To
git@vger.kernel.org
From
Stephen P. Smith
See Also
Prev
Date
2019-09-09 01:47:11 UTC
Remove the reference to the GIT_TEST_DATE_NOW which is done in date.c.
The intialization of variable x with the value from GIT_TEST_DATE_NOW
is unneeded since x is initalized by skip_prefix().

Signed-off-by: Stephen P. Smith <ischis2@cox.net>
---
 t/helper/test-date.c | 1 -
 1 file changed, 1 deletion(-)

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)
-- 
2.23.0