Re: [PATCHv3 4/4] builtin/blame: highlight recently changed lines

2018-01-08 Thread Stefan Beller
On Mon, Jan 8, 2018 at 11:56 AM, Junio C Hamano wrote: > Stefan Beller writes: > >> +static struct color_field { >> + timestamp_t hop; >> + char col[COLOR_MAXLEN]; >> +} *colorfield; >> +static int colorfield_nr, colorfield_alloc; >> + >> +static

Re: [PATCHv3 4/4] builtin/blame: highlight recently changed lines

2018-01-08 Thread Junio C Hamano
Stefan Beller writes: > +static struct color_field { > + timestamp_t hop; > + char col[COLOR_MAXLEN]; > +} *colorfield; > +static int colorfield_nr, colorfield_alloc; > + > +static void parse_color_fields(const char *s) > +{ > + struct string_list l =

[PATCHv3 4/4] builtin/blame: highlight recently changed lines

2018-01-04 Thread Stefan Beller
Choose a different color for dates and imitate a 'temperature cool down' depending upon age. Originally I had planned to have the temperature cooldown 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