Skip to content

Commit 30cfe72

Browse files
rscharfegitster
authored andcommitted
pretty: fix document link for color specification
Helped-by: Jeff King <[email protected]> Signed-off-by: Rene Scharfe <[email protected]> Reviewed-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0b65a8d commit 30cfe72

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/pretty-formats.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ endif::git-rev-list[]
160160
- '%Cgreen': switch color to green
161161
- '%Cblue': switch color to blue
162162
- '%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];
164165
adding `auto,` at the beginning will emit color only when colors are
165166
enabled for log output (by `color.diff`, `color.ui`, or `--color`, and
166167
respecting the `auto` settings of the former if we are going to a

0 commit comments

Comments
 (0)