aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/rev-list-options.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-06-25 12:55:45 -0400
committerJunio C Hamano <gitster@pobox.com>2015-06-29 11:39:10 -0700
commitaa1462cc3d3b0c4c8ad6a60aaf31e0f3a424162d (patch)
tree59ef52faaddb398ce95f3564ea5bd895c69e047f /Documentation/rev-list-options.txt
parenta5481a6c9438cbd9c246cfa59ff49c31a0926fb6 (diff)
downloadgit-aa1462cc3d3b0c4c8ad6a60aaf31e0f3a424162d.tar.gz
introduce "format" date-mode
This feeds the format directly to strftime. Besides being a little more flexible, the main advantage is that your system strftime may know more about your locale's preferred format (e.g., how to spell the days of the week). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/rev-list-options.txt')
-rw-r--r--Documentation/rev-list-options.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 77ac439234..a9b808fab3 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -727,6 +727,11 @@ format, often found in email messages.
+
`--date=raw` shows the date in the internal raw Git format `%s %z` format.
+
+`--date=format:...` feeds the format `...` to your system `strftime`.
+Use `--date=format:%c` to show the date in your system locale's
+preferred format. See the `strftime` manual for a complete list of
+format placeholders.
++
`--date=default` shows timestamps in the original time zone
(either committer's or author's).