Re: [PATCH v3 4/5] Add `human` format to test-tool

2019-01-22 Thread Junio C Hamano
"Stephen P. Smith" writes: > Add the human format support to the test tool so that TEST_DATE_NOW > can be used to specify the current time. This sounds sensible, but let's do s/TEST_DATE_NOW/GIT_&/ to make sure that we will not pick up somebody else's random environment variable in production Gi

[PATCH v3 4/5] Add `human` format to test-tool

2019-01-20 Thread Stephen P. Smith
Add the human format support to the test tool so that TEST_DATE_NOW can be used to specify the current time. The get_time() helper function was created and and checks the TEST_DATE_NOW environment variable. If TEST_DATE_NOW is set, then that date is used instead of the date returned by by gettime

[PATCH v3 4/5] Add `human` format to test-tool

2019-01-20 Thread Stephen P. Smith
Add the human format support to the test tool so that TEST_DATE_NOW can be used to specify the current time. The get_time() helper function was created and and checks the TEST_DATE_NOW environment variable. If TEST_DATE_NOW is set, then that date is used instead of the date returned by by gettime