summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 18:06:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-29 18:06:43 -0700
commit5b67f9a02854799a4c7863503c96fd0ae9f883bb (patch)
tree4af2892ba6b468043ee860a47562bb8e15d3b991 /Documentation/config.txt
parentMerge branch 'mr/send-email-doc-gmail-2fa' (diff)
parentlog: document the --decorate=auto option (diff)
downloadtgif-5b67f9a02854799a4c7863503c96fd0ae9f883bb.tar.xz
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/config.txt')
-rw-r--r--Documentation/config.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 53f00dbc26..2e1b2e486e 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1956,7 +1956,10 @@ log.decorate::
command. 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.
- This is the same as the log commands '--decorate' option.
+ 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. This is the same as the '--decorate' option
+ of the `git log`.
log.follow::
If `true`, `git log` will act as if the `--follow` option was used when