docs/for-each-ref: update pointer to color syntax
The documentation for the %(color) placeholder refers to the color.branch.* config for more details. But those details moved to their own section inb92c1a28f
(Documentation/config.txt: describe 'color' value type in the "Values" section, 2015-03-03). Let's update our pointer. We can steal the text from30cfe72d3
(pretty: fix document link for color specification, 2016-10-11), which fixed the same problem in a different place. While we're at it, let's give an example, which makes the syntax much more clear than just the text. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2eda0102be
commit
5d3d0681ab
@ -156,8 +156,10 @@ HEAD::
|
|||||||
otherwise.
|
otherwise.
|
||||||
|
|
||||||
color::
|
color::
|
||||||
Change output color. Followed by `:<colorname>`, where names
|
Change output color. Followed by `:<colorname>`, where color
|
||||||
are described in `color.branch.*`.
|
names are described under Values in the "CONFIGURATION FILE"
|
||||||
|
section of linkgit:git-config[1]. For example,
|
||||||
|
`%(color:bold red)`.
|
||||||
|
|
||||||
align::
|
align::
|
||||||
Left-, middle-, or right-align the content between
|
Left-, middle-, or right-align the content between
|
||||||
|
Loading…
Reference in New Issue
Block a user