summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-30 05:04:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-30 05:04:09 (GMT)
commit3d241297991c6f6ac6b1e50e52a4ae35bc431f28 (patch)
treef15e41d3b37d2952b02b05eb33768c4e435553cc /Documentation
parent2a98a8794eac7089d4e44f51b19e358a14eb6d3e (diff)
parent0dc95a4d8a71bcb0c9d0163716bd99c2d785bd10 (diff)
downloadgit-3d241297991c6f6ac6b1e50e52a4ae35bc431f28.zip
git-3d241297991c6f6ac6b1e50e52a4ae35bc431f28.tar.gz
git-3d241297991c6f6ac6b1e50e52a4ae35bc431f28.tar.bz2
Merge branch 'sb/blame-color'
"git blame" learns to unhighlight uninteresting metadata from the originating commit on lines that are the same as the previous one, and also paint lines in different colors depending on the age of the commit. * sb/blame-color: builtin/blame: add new coloring scheme config builtin/blame: highlight recently changed lines builtin/blame: dim uninteresting metadata lines
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 460c14f..7d83834 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1251,6 +1251,33 @@ color.status.<slot>::
status short-format), or
`unmerged` (files which have unmerged changes).
+color.blame.repeatedLines::
+ Use the customized color for the part of git-blame output that
+ is repeated meta information per line (such as commit id,
+ author name, date and timezone). Defaults to cyan.
+
+color.blame.highlightRecent::
+ This can be used to color the metadata of a blame line depending
+ on age of the line.
++
+This setting should be set to a comma-separated list of color and date settings,
+starting and ending with a color, the dates should be set from oldest to newest.
+The metadata will be colored given the colors if the the line was introduced
+before the given timestamp, overwriting older timestamped colors.
++
+Instead of an absolute timestamp relative timestamps work as well, e.g.
+2.weeks.ago is valid to address anything older than 2 weeks.
++
+It defaults to 'blue,12 month ago,white,1 month ago,red', which colors
+everything older than one year blue, recent changes between one month and
+one year old are kept white, and lines introduced within the last month are
+colored red.
+
+blame.coloring::
+ This determines the coloring scheme to be applied to blame
+ output. It can be 'repeatedLines', 'highlightRecent',
+ or 'none' which is the default.
+
color.transport::
A boolean to enable/disable color when pushes are rejected. May be
set to `always`, `false` (or `never`) or `auto` (or `true`), in which