Re: Can I convince the diff algorithm to behave better?
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Mar 3, 2021, 23:45 UTC
- Message-ID
- <20210303234530.3122368-1-jonathantanmy@google.com>
- In-Reply-To
- <CA+cU71=FfReSG411Feo=vmkw4MdK4KDgokP1jH6uwOkC_0AbYA@mail.gmail.com>
> I know that git includes four diff algorithms; in my testing patience > or histogram exacerbated the problem; and none of them improved upon > it. If anyone has suggestions I'd be curious to know if there's > anything that could be done...
In your particular case, I can't think of anything, but in general, if one of the lines weren't repeated, you might be able to use the --anchored option.