summaryrefslogtreecommitdiffstats
path: root/rev-list-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
committerJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
commit23168ef89678fc52e01173bbc7fdaa760f21d02a (patch)
tree8425bac71f938dfce77a3c2928b2c936b03789c9 /rev-list-options.txt
parent2567b326fac6961a6fc6075ad2f22a744252f2f3 (diff)
downloadgit-htmldocs-23168ef89678fc52e01173bbc7fdaa760f21d02a.tar.gz
Autogenerated HTML docs for v2.21.0-rc0
Diffstat (limited to 'rev-list-options.txt')
-rw-r--r--rev-list-options.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/rev-list-options.txt b/rev-list-options.txt
index 8a4867998..cad711ce0 100644
--- a/rev-list-options.txt
+++ b/rev-list-options.txt
@@ -836,6 +836,13 @@ Note that the `-local` option does not affect the seconds-since-epoch
value (which is always measured in UTC), but does switch the accompanying
timezone value.
+
+`--date=human` shows the timezone if the timezone does not match the
+current time-zone, and doesn't print the whole date if that matches
+(ie skip printing year for dates that are "this year", but also skip
+the whole date itself if it's in the last few days and we can just say
+what weekday it was). For older dates the hour and minute is also
+omitted.
++
`--date=unix` shows the date as a Unix epoch timestamp (seconds since
1970). As with `--raw`, this is always in UTC and therefore `-local`
has no effect.