Re: [PATCH v2 5/7] xdl_change_compact(): introduce the concept of a change group

2016-08-23 Thread Junio C Hamano
Michael Haggerty writes: > The idea of xdl_change_compact() is fairly simple: > > * Proceed through groups of changed lines in the file to be compacted, > keeping track of the corresponding location in the "other" file. > > * If possible, slide the group up and down to

[PATCH v2 5/7] xdl_change_compact(): introduce the concept of a change group

2016-08-22 Thread Michael Haggerty
The idea of xdl_change_compact() is fairly simple: * Proceed through groups of changed lines in the file to be compacted, keeping track of the corresponding location in the "other" file. * If possible, slide the group up and down to try to give the most aesthetically pleasing diff. Whenever