diff options
author | Stefan Beller <sbeller@google.com> | 2018-04-23 17:08:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-04-24 11:03:15 +0900 |
commit | 25d5f52901f0d56b2e3df06b53062ee599b0403b (patch) | |
tree | 8fff108b599529db6a5c0572cacc0f61c52b2bb7 /quote.c | |
parent | builtin/blame: dim uninteresting metadata lines (diff) | |
download | tgif-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 'quote.c')
0 files changed, 0 insertions, 0 deletions