[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    Re: Possible bug: identical lines added/removed in git diff
From:       Johannes Schindelin <Johannes.Schindelin () gmx ! de>
Date:       2018-08-31 21:38:59
Message-ID: nycvar.QRO.7.76.6.1808312336270.71 () tvgsbejvaqbjf ! bet
[Download RAW message or body]

Hi,

On Thu, 30 Aug 2018, Stefan Beller wrote:

> On Thu, Aug 30, 2018 at 12:20 PM Jeff King <peff@peff.net> wrote:
> >
> > [...] Myers does not promise to find the absolute minimal diff. [...]
> 
> The `Myers` (our default) diff algorithm is really the Myers algorithm +
> a heuristic that cuts off the long tail when it is very costly to compute
> the minimal diff.

IIRC Myers promises minimal diffs only for -U0. As soon as you add
context, Myers might in fact end up with a suboptimal diff, even without
that heuristic.

Ciao,
Dscho
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic