Skip to content

Commit f0ae64b

Browse files
committed
Merge branch 'rs/pretty-format-color-doc-fix' into next
* rs/pretty-format-color-doc-fix: pretty: fix document link for color specification
2 parents 61ad4a7 + 30cfe72 commit f0ae64b

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
@@ -166,7 +166,8 @@ endif::git-rev-list[]
166166
- '%Cgreen': switch color to green
167167
- '%Cblue': switch color to blue
168168
- '%Creset': reset color
169-
- '%C(...)': color specification, as described in color.branch.* config option;
169+
- '%C(...)': color specification, as described under Values in the
170+
"CONFIGURATION FILE" section of linkgit:git-config[1];
170171
adding `auto,` at the beginning will emit color only when colors are
171172
enabled for log output (by `color.diff`, `color.ui`, or `--color`, and
172173
respecting the `auto` settings of the former if we are going to a

0 commit comments

Comments
 (0)