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>
René Scharfe committed
Oct 11, 2016 at 05:41 UTC
30cfe72d37ed8c174cae43923769730a94549dae
1 file changed
+2
-1
Documentation/pretty-formats.txt
+2
-1
@@ -160,7 +160,8 @@ endif::git-rev-list[]
160
- '%Cgreen': switch color to green
161
- '%Cblue': switch color to blue
162
- '%Creset': reset color
163
-- '%C(...)': color specification, as described in color.branch.* config option;
163
+- '%C(...)': color specification, as described under Values in the
164
+ "CONFIGURATION FILE" section of linkgit:git-config[1];
165
adding `auto,` at the beginning will emit color only when colors are
166
enabled for log output (by `color.diff`, `color.ui`, or `--color`, and
167
respecting the `auto` settings of the former if we are going to a