summaryrefslogtreecommitdiffstats
path: root/git-rev-list.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-22 11:32:37 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-22 11:32:37 -0700
commit4b2a6c149b267a1120f1444a0951af13d7b36d69 (patch)
tree5c68e72eebbfb448458790b8350ba417b3d93654 /git-rev-list.html
parent65314ca2cdc18a564335d61f615f5f6da04c0f97 (diff)
downloadgit-htmldocs-4b2a6c149b267a1120f1444a0951af13d7b36d69.tar.gz
Autogenerated HTML docs for v2.14.1-248-gf0294f
Diffstat (limited to 'git-rev-list.html')
-rw-r--r--git-rev-list.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/git-rev-list.html b/git-rev-list.html
index 719ba0fc8..9b65f03b2 100644
--- a/git-rev-list.html
+++ b/git-rev-list.html
@@ -2652,13 +2652,17 @@ The title was &gt;&gt;t4119: test autocomputing -p&lt;n&gt; for traditional diff
<li>
<p>
<em>%C(&#8230;)</em>: color specification, as described under Values in the
- "CONFIGURATION FILE" section of <a href="git-config.html">git-config(1)</a>;
- adding <code>auto,</code> at the beginning (e.g. <code>%C(auto,red)</code>) will emit
- color only when colors are enabled for log output (by <code>color.diff</code>,
- <code>color.ui</code>, or <code>--color</code>, and respecting the <code>auto</code> settings of the
- former if we are going to a terminal). <code>auto</code> alone (i.e.
- <code>%C(auto)</code>) will turn on auto coloring on the next placeholders
- until the color is switched again.
+ "CONFIGURATION FILE" section of <a href="git-config.html">git-config(1)</a>.
+ By default, colors are shown only when enabled for log output (by
+ <code>color.diff</code>, <code>color.ui</code>, or <code>--color</code>, and respecting the <code>auto</code>
+ settings of the former if we are going to a terminal). <code>%C(auto,...)</code>
+ is accepted as a historical synonym for the default (e.g.,
+ <code>%C(auto,red)</code>). Specifying <code>%C(always,...) will show the colors
+ even when color is not otherwise enabled (though consider
+ just using `--color=always</code> to enable color for the whole output,
+ including this format and anything else git might color). <code>auto</code>
+ alone (i.e. <code>%C(auto)</code>) will turn on auto coloring on the next
+ placeholders until the color is switched again.
</p>
</li>
<li>