Re: [PATCH 9/9] diff.c: add white space mode to move detection that allows indent changes

2018-07-18 Thread Stefan Beller
On Wed, Jul 18, 2018 at 11:25 AM Andrei Rybak wrote: > > On 2018-07-17 01:05, Stefan Beller wrote: > > > > This patch brings some challenges, related to the detection of blocks. > > We need a white net the catch the possible moved lines, but then need to > > The s/white/wide/ was already

Re: [PATCH 9/9] diff.c: add white space mode to move detection that allows indent changes

2018-07-18 Thread Andrei Rybak
On 2018-07-17 01:05, Stefan Beller wrote: > > This patch brings some challenges, related to the detection of blocks. > We need a white net the catch the possible moved lines, but then need to The s/white/wide/ was already suggested by Brandon Williams in previous iteration, but it seems this

[PATCH 9/9] diff.c: add white space mode to move detection that allows indent changes

2018-07-16 Thread Stefan Beller
The option of --color-moved has proven to be useful as observed on the mailing list. However when refactoring sometimes the indentation changes, for example when partitioning a functions into smaller helper functions the code usually mostly moved around except for a decrease in indentation. To