Git fuzzy patch compare (was: Merging patches)
martin f krafft
madduck at madduck.net
Thu Feb 11 11:52:01 EST 2010
also sprach Mauro Carvalho Chehab <mchehab at redhat.com> [2010.02.11.1259 +1300]:
> >> For a replacement patch, you may try to use an algorithm like
> >> what -git does: get only the diff and compare the previous and
> >> the new version. If they are very close, you may consider the
> >> reply as a replacement.
> >
> > How does Git do this?
>
> I never look at -git source code where this check is done, but, as
> the source code is available and well written, I think it
> shouldn't be hard to port it to patchwork.
I don't even know what (Git) feature you are speaking of.
--
martin | http://madduck.net/ | http://two.sentenc.es/
"da haben wir es also: eine kirchliche ordnung mit priesterschaft,
theologie, kultus, sakrament;
kurz, alles das, was jesus von nazareth bekämpft hatte..."
- friedrich nietzsche
spamtraps: madduck.bogus at madduck.net
More information about the Patchwork
mailing list