summaryrefslogtreecommitdiff
path: root/credential.h
diff options
context:
space:
mode:
authorStephen P. Smith <ischis2@cox.net>2019-01-29 03:50:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-29 17:40:08 (GMT)
commit110a6a161d304cac5e50306c70510f38000224bb (patch)
tree51afaaebf3fe0c25e22bd9e47123479a87d8deb5 /credential.h
parentb841d4ff438576fe0c3f69b7d48ba46a442f162b (diff)
downloadgit-110a6a161d304cac5e50306c70510f38000224bb.zip
git-110a6a161d304cac5e50306c70510f38000224bb.tar.gz
git-110a6a161d304cac5e50306c70510f38000224bb.tar.bz2
Add `human` date format tests.
When using `human` several fields are suppressed depending on the time difference between the reference date and the local computer date. In cases where the difference is less than a year, the year field is supppressed. If the time is less than a day; the month and year is suppressed. Use TEST_DATE_NOW environment variable when using the test-tool to hold the expected output strings constant. Signed-off-by: Stephen P. Smith <ischis2@cox.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'credential.h')
0 files changed, 0 insertions, 0 deletions