]> git.ipfire.org Git - thirdparty/git.git/commit
pretty: provide human date format
authorZheNing Hu <adlternative@gmail.com>
Sun, 25 Apr 2021 10:41:45 +0000 (10:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Apr 2021 07:09:32 +0000 (16:09 +0900)
commitb722d4560e9d566cb8c6cdccf08d649df146eb6b
tree139de3aa4d73b836143c553ee3b1c7a51684e90e
parent3593ebd3f502d28eb405ce502cd9fbd743afc3fe
pretty: provide human date format

Add the placeholders %ah and %ch to format author date and committer
date, like --date=human does, which provides more humanity date output.

Signed-off-by: ZheNing Hu <adlternative@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
pretty.c
t/t4205-log-pretty-formats.sh