From: Petr Baudis Date: Sun, 29 May 2005 21:56:17 GMT Subject: Re: [PATCH] Add -B flag to diff-* brothers. Message-ID: <20050529215617.GT1036@pasky.ji.cz> In-Reply-To: <7vbr6vrvqf.fsf@assigned-by-dhcp.cox.net> Dear diary, on Sat, May 28, 2005 at 09:33:44PM CEST, I got a letter where Junio C Hamano told me that... > This introduces diffcore-break.c, a new diffcore > transformation. > > When the -B flag is given, a patch that represents a complete > rewrite is broken into a deletion followed by a creation. This > makes it easier to review such a complete rewrite patch. > > The -B flag takes the same syntax as the -M and -C flags to > specify the maximum amount of source material the resulting file > can still have to be considered a complete rewrite, and defaults > to 15% if not specified. For example, this detects the complete > rewrite of ls-tree.c I sent earlier. > > Signed-off-by: Junio C Hamano Actually, I like this one - contrary to -O I can see how this could be quite useful - I have wished for this many times when people would send me some "complete rewrite" patches which I actually wanted to review. Please don't give up on it. :-) -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor