From: Jonathan Tan Date: Tue, 24 Apr 2018 22:37:36 GMT Subject: Re: [PATCHv2 0/7] Moved code detection: ignore space on uniform indentation Message-ID: <20180424153736.480b609d0af412ec46311eb6@google.com> In-Reply-To: <20180424210330.87861-1-sbeller@google.com> On Tue, 24 Apr 2018 14:03:23 -0700 Stefan Beller wrote: > v2: > I think I have addressed Jonathans feedback > * by using a string instead of counting the first character only. > * refined tests slightly (easier to read) > * moved white space handling for moved blocks into its own flag field, > keeping the enum for the actual mode of move detection. For reference, v1 is here: https://public-inbox.org/git/20180402224854.86922-1-sbeller@google.com/ > Stefan Beller (7): > xdiff/xdiff.h: remove unused flags > xdiff/xdiffi.c: remove unneeded function declarations > diff.c: do not pass diff options as keydata to hashmap > diff.c: adjust hash function signature to match hashmap expectation > diff.c: add a blocks mode for moved code detection > diff.c: decouple white space treatment from move detection algorithm > diff.c: add --color-moved-ignore-space-delta option I'm not sure if we should add a new "blocks" mode, or if we should modify the existing plain mode to have the minimum block length instead. I reviewed the code as if we want the new "blocks" mode.