aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2016-10-11 05:41:14 +0200
committerJunio C Hamano <gitster@pobox.com>2016-10-11 10:07:09 -0700
commit30cfe72d37ed8c174cae43923769730a94549dae (patch)
treefe3caa2d1ea5c576f0afeebdbbcacee503d8d97d
parent0b65a8dbdb38962e700ee16776a3042beb489060 (diff)
downloadgit-30cfe72d37ed8c174cae43923769730a94549dae.tar.gz
git-30cfe72d37ed8c174cae43923769730a94549dae.tar.xz
pretty: fix document link for color specification
Helped-by: Jeff King <peff@peff.net> Signed-off-by: Rene Scharfe <l.s.r@web.de> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/pretty-formats.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 29b19b992..867b159e8 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -160,7 +160,8 @@ endif::git-rev-list[]
- '%Cgreen': switch color to green
- '%Cblue': switch color to blue
- '%Creset': reset color
-- '%C(...)': color specification, as described in color.branch.* config option;
+- '%C(...)': color specification, as described under Values in the
+ "CONFIGURATION FILE" section of linkgit:git-config[1];
adding `auto,` at the beginning will emit color only when colors are
enabled for log output (by `color.diff`, `color.ui`, or `--color`, and
respecting the `auto` settings of the former if we are going to a