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

2018-06-21 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 jus

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

2018-06-23 Thread SZEDER Gábor
> diff --git a/diff.c b/diff.c > index 040b46545e5..9e357111864 100644 > --- a/diff.c > +++ b/diff.c > @@ -302,12 +302,18 @@ static int parse_color_moved_ws(const char *arg) > ret |= XDF_IGNORE_WHITESPACE_AT_EOL; > else if (!strcmp(sb.buf, "ignore-all-space")) >