aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-log.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-29 18:06:42 -0700
committerJunio C Hamano <gitster@pobox.com>2016-05-29 18:06:43 -0700
commit5b67f9a02854799a4c7863503c96fd0ae9f883bb (patch)
tree4af2892ba6b468043ee860a47562bb8e15d3b991 /Documentation/git-log.txt
parent3a79d4251b65548a446dfd88fcfa43234e9c5f66 (diff)
parent462cbb415e41aa890e78a30a5cc29558baa80b23 (diff)
downloadgit-5b67f9a02854799a4c7863503c96fd0ae9f883bb.tar.gz
Merge branch 'rj/log-decorate-auto'
We forgot to add "git log --decorate=auto" to documentation when we added the feature back in v2.1.0 timeframe. * rj/log-decorate-auto: log: document the --decorate=auto option
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r--Documentation/git-log.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 03f958029a..dec379b3e2 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -29,12 +29,14 @@ OPTIONS
(works only for a single file).
--no-decorate::
---decorate[=short|full|no]::
+--decorate[=short|full|auto|no]::
Print out the ref names of any commits that are shown. If 'short' is
specified, the ref name prefixes 'refs/heads/', 'refs/tags/' and
'refs/remotes/' will not be printed. If 'full' is specified, the
- full ref name (including prefix) will be printed. The default option
- is 'short'.
+ full ref name (including prefix) will be printed. If 'auto' is
+ specified, then if the output is going to a terminal, the ref names
+ are shown as if 'short' were given, otherwise no ref names are
+ shown. The default option is 'short'.
--source::
Print out the ref name given on the command line by which each