Re: [RFC/PATCH 05/17] diff.c: emit_line_0 can handle no color setting

2016-09-13 Thread Junio C Hamano
Stefan Beller writes: > In a later patch, I want to propose an option to detect&color > moved lines in a diff, which cannot be done in a one-pass over > the diff. Instead we need to go over the whole diff twice, > because we cannot detect the first line of the two corresponding > lines (+ and -)

[RFC/PATCH 05/17] diff.c: emit_line_0 can handle no color setting

2016-09-12 Thread Stefan Beller
In a later patch, I want to propose an option to detect&color moved lines in a diff, which cannot be done in a one-pass over the diff. Instead we need to go over the whole diff twice, because we cannot detect the first line of the two corresponding lines (+ and -) that got moved. So to prepare the