config: restructure color.decorate documentation
List color.decorate slots in git-config documentation one-by-one in the same way as color.grep slots, to aid readability and make it easier to add slots. Signed-off-by: Andy Koppe <andy.koppe@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d0e8084c65
commit
3f5b7ec4a5
@ -74,10 +74,25 @@ color.diff.<slot>::
|
|||||||
`oldBold`, and `newBold` (see linkgit:git-range-diff[1] for details).
|
`oldBold`, and `newBold` (see linkgit:git-range-diff[1] for details).
|
||||||
|
|
||||||
color.decorate.<slot>::
|
color.decorate.<slot>::
|
||||||
Use customized color for 'git log --decorate' output. `<slot>` is one
|
Use customized color for the output of 'git log --decorate' as well as
|
||||||
of `branch`, `remoteBranch`, `tag`, `stash` or `HEAD` for local
|
the `%d`, `%D` and `%(decorate)` placeholders in custom log formats,
|
||||||
branches, remote-tracking branches, tags, stash and HEAD, respectively
|
whereby `<slot>` specifies which decoration elements the color applies
|
||||||
and `grafted` for grafted commits.
|
to:
|
||||||
|
+
|
||||||
|
--
|
||||||
|
`HEAD`;;
|
||||||
|
the current HEAD
|
||||||
|
`branch`;;
|
||||||
|
local branches
|
||||||
|
`remoteBranch`;;
|
||||||
|
remote-tracking branches
|
||||||
|
`tag`;;
|
||||||
|
lightweight and annotated tags
|
||||||
|
`stash`;;
|
||||||
|
the stash ref
|
||||||
|
`grafted`;;
|
||||||
|
grafted and replaced commits
|
||||||
|
--
|
||||||
|
|
||||||
color.grep::
|
color.grep::
|
||||||
When set to `always`, always highlight matches. When `false` (or
|
When set to `always`, always highlight matches. When `false` (or
|
||||||
|
Reference in New Issue
Block a user