v3: Thanks Eric for feedback, I implemented all of the suggestions. Specifically I dropped the abstractions in patch2 but keep around a similar abstraction in patch 3 as that still looks like it benefits (the condition is just growing large).
Thanks, Stefan v2: This is picking up [1], but presenting it in another approach, as I realized these are orthogonal features: * dimming repeated lines/fields of information * giving a quick visual information how old (as a proxy for 'well tested') a line of code is. Both features are configurable. Changes from sending it out in November: * better commit messages * rebased on master Any feedback welcome. Thanks, Stefan [1] https://public-inbox.org/git/20171110011002.10179-1-sbel...@google.com/ Stefan Beller (4): color.h: document and modernize header builtin/blame: dim uninteresting metadata builtin/blame: add option to color metadata fields separately builtin/blame: highlight recently changed lines Documentation/config.txt | 23 ++++++ builtin/blame.c | 201 ++++++++++++++++++++++++++++++++++++++++++----- color.c | 2 - color.h | 59 ++++++++++---- t/t8012-blame-colors.sh | 56 +++++++++++++ 5 files changed, 305 insertions(+), 36 deletions(-) create mode 100755 t/t8012-blame-colors.sh -- 2.16.0.rc0.223.g4a4ac83678-goog