summaryrefslogtreecommitdiff
path: root/unicode_width.h
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2018-04-23 17:08:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-24 11:03:15 +0900
commit25d5f52901f0d56b2e3df06b53062ee599b0403b (patch)
tree8fff108b599529db6a5c0572cacc0f61c52b2bb7 /unicode_width.h
parentbuiltin/blame: dim uninteresting metadata lines (diff)
downloadtgif-25d5f52901f0d56b2e3df06b53062ee599b0403b.tar.xz
builtin/blame: highlight recently changed lines
Choose a different color for dates and imitate a 'temperature cool down' depending upon age. Originally I had planned to have the temperature cool down dependent on the age of the project or file for example, as that might scale better, but that can be added on top of this commit, e.g. instead of giving a date, you could imagine giving a percentage that would be the linearly interpolated between now and the beginning of the file. Similarly to the previous patch, this offers the command line option '--color-by-age' to enable this mode and the config option 'color.blame.highlightrecent' to select colors. A later patch will offer a config option to select the default mode. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unicode_width.h')
0 files changed, 0 insertions, 0 deletions