From: René Scharfe Date: Tue, 11 Oct 2016 03:41:14 +0000 (+0200) Subject: pretty: fix document link for color specification X-Git-Tag: v2.10.2~5^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/30cfe72d3?ds=sidebyside pretty: fix document link for color specification Helped-by: Jeff King Signed-off-by: Rene Scharfe Reviewed-by: Jeff King Signed-off-by: Junio C Hamano --- diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 29b19b992f..867b159e8f 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