summaryrefslogtreecommitdiff
path: root/Documentation/rev-list-options.txt
diff options
context:
space:
mode:
authorHeikki Orsila <heikki.orsila@iki.fi>2008-05-22 15:24:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-23 23:05:42 (GMT)
commitdd0ffd5b31a672db90d8b775988d55829e6f5f9f (patch)
tree2bfdde89effdd974e261343887bce6d1c4449e6d /Documentation/rev-list-options.txt
parent950ce2e22db4a3c1ff9ad598b46ccb22c517a336 (diff)
downloadgit-dd0ffd5b31a672db90d8b775988d55829e6f5f9f.zip
git-dd0ffd5b31a672db90d8b775988d55829e6f5f9f.tar.gz
git-dd0ffd5b31a672db90d8b775988d55829e6f5f9f.tar.bz2
Add log.date config variable
log.date config variable sets the default date-time mode for the log command. Setting log.date value is similar to using git log's --date option. Signed-off-by: Heikki Orsila <heikki.orsila@iki.fi> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/rev-list-options.txt')
-rw-r--r--Documentation/rev-list-options.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index ce6a101..3558348 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -16,7 +16,8 @@ include::pretty-options.txt[]
--date={relative,local,default,iso,rfc}::
Only takes effect for dates shown in human-readable format, such
- as when using "--pretty".
+ as when using "--pretty". `log.date` config variable sets a default
+ value for log command's --date option.
+
`--date=relative` shows dates relative to the current time,
e.g. "2 hours ago".