Git fuzzy patch compare

martin f krafft madduck at madduck.net
Fri Feb 19 10:27:41 EST 2010


also sprach Mauro Carvalho Chehab <mchehab at redhat.com> [2010.02.11.1444 +1300]:
> If you rename a file and change some lines, or if you do a major change 
> in a file, git has an algorithm to autodetect it.
> 
> For example:
> 
>  1 files changed, 126 insertions(+), 85 deletions(-)
>  rewrite format_waiting_patches.pl (75%)

I am not sure the percentage indicates overlap in the way we would
be able to use it to automatically supersede patches, but I also
just didn't really understand the source code (I think it's in
diff.c).

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"syntactic sugar causes cancer of the semicolon."
                                            -- epigrams in programming
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20100219/b4754723/attachment.pgp>


More information about the Patchwork mailing list