author | Jeff King <peff@peff.net> | |
Fri, 29 Aug 2008 00:54:59 +0000 (20:54 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 Aug 2008 07:14:29 +0000 (00:14 -0700) | ||
commit | d36f8679e94c2a0d4d15d6adcea434634af6d627 | |
tree | 2627d520068c741d8235151da56ae66ad261ed01 | tree | snapshot |
parent | 0cfeed2e1d320cc76c434e0bfc26d90065754e46 | commit | diff |
pretty=format: respect date format options
When running a command like:
git log --pretty=format:%ad --date=short
the date option was ignored. This patch causes it to use whatever
format was specified by --date (or by --relative-date, etc), just
as the non-user formats would do.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When running a command like:
git log --pretty=format:%ad --date=short
the date option was ignored. This patch causes it to use whatever
format was specified by --date (or by --relative-date, etc), just
as the non-user formats would do.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>