Skip to content

Commit 3146f8a

Browse files
committed
Merge branch 'nd/config-blame-sort'
Doc fix. * nd/config-blame-sort: config.txt: reorder blame stuff to keep config keys sorted
2 parents b576cf7 + 8578037 commit 3146f8a

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

Documentation/config.txt

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -995,23 +995,28 @@ apply.whitespace::
995995
Tells 'git apply' how to handle whitespaces, in the same way
996996
as the `--whitespace` option. See linkgit:git-apply[1].
997997

998-
blame.showRoot::
999-
Do not treat root commits as boundaries in linkgit:git-blame[1].
1000-
This option defaults to false.
1001-
1002998
blame.blankBoundary::
1003999
Show blank commit object name for boundary commits in
10041000
linkgit:git-blame[1]. This option defaults to false.
10051001

1006-
blame.showEmail::
1007-
Show the author email instead of author name in linkgit:git-blame[1].
1008-
This option defaults to false.
1002+
blame.coloring::
1003+
This determines the coloring scheme to be applied to blame
1004+
output. It can be 'repeatedLines', 'highlightRecent',
1005+
or 'none' which is the default.
10091006

10101007
blame.date::
10111008
Specifies the format used to output dates in linkgit:git-blame[1].
10121009
If unset the iso format is used. For supported values,
10131010
see the discussion of the `--date` option at linkgit:git-log[1].
10141011

1012+
blame.showEmail::
1013+
Show the author email instead of author name in linkgit:git-blame[1].
1014+
This option defaults to false.
1015+
1016+
blame.showRoot::
1017+
Do not treat root commits as boundaries in linkgit:git-blame[1].
1018+
This option defaults to false.
1019+
10151020
branch.autoSetupMerge::
10161021
Tells 'git branch' and 'git checkout' to set up new branches
10171022
so that linkgit:git-pull[1] will appropriately merge from the
@@ -1149,6 +1154,28 @@ color.advice::
11491154
color.advice.hint::
11501155
Use customized color for hints.
11511156

1157+
color.blame.highlightRecent::
1158+
This can be used to color the metadata of a blame line depending
1159+
on age of the line.
1160+
+
1161+
This setting should be set to a comma-separated list of color and date settings,
1162+
starting and ending with a color, the dates should be set from oldest to newest.
1163+
The metadata will be colored given the colors if the the line was introduced
1164+
before the given timestamp, overwriting older timestamped colors.
1165+
+
1166+
Instead of an absolute timestamp relative timestamps work as well, e.g.
1167+
2.weeks.ago is valid to address anything older than 2 weeks.
1168+
+
1169+
It defaults to 'blue,12 month ago,white,1 month ago,red', which colors
1170+
everything older than one year blue, recent changes between one month and
1171+
one year old are kept white, and lines introduced within the last month are
1172+
colored red.
1173+
1174+
color.blame.repeatedLines::
1175+
Use the customized color for the part of git-blame output that
1176+
is repeated meta information per line (such as commit id,
1177+
author name, date and timezone). Defaults to cyan.
1178+
11521179
color.branch::
11531180
A boolean to enable/disable color in the output of
11541181
linkgit:git-branch[1]. May be set to `always`,
@@ -1296,33 +1323,6 @@ color.status.<slot>::
12961323
status short-format), or
12971324
`unmerged` (files which have unmerged changes).
12981325

1299-
color.blame.repeatedLines::
1300-
Use the customized color for the part of git-blame output that
1301-
is repeated meta information per line (such as commit id,
1302-
author name, date and timezone). Defaults to cyan.
1303-
1304-
color.blame.highlightRecent::
1305-
This can be used to color the metadata of a blame line depending
1306-
on age of the line.
1307-
+
1308-
This setting should be set to a comma-separated list of color and date settings,
1309-
starting and ending with a color, the dates should be set from oldest to newest.
1310-
The metadata will be colored given the colors if the the line was introduced
1311-
before the given timestamp, overwriting older timestamped colors.
1312-
+
1313-
Instead of an absolute timestamp relative timestamps work as well, e.g.
1314-
2.weeks.ago is valid to address anything older than 2 weeks.
1315-
+
1316-
It defaults to 'blue,12 month ago,white,1 month ago,red', which colors
1317-
everything older than one year blue, recent changes between one month and
1318-
one year old are kept white, and lines introduced within the last month are
1319-
colored red.
1320-
1321-
blame.coloring::
1322-
This determines the coloring scheme to be applied to blame
1323-
output. It can be 'repeatedLines', 'highlightRecent',
1324-
or 'none' which is the default.
1325-
13261326
color.transport::
13271327
A boolean to enable/disable color when pushes are rejected. May be
13281328
set to `always`, `false` (or `never`) or `auto` (or `true`), in which

0 commit comments

Comments
 (0)