'Minimal' diff-algorithm producing a different result than 'myers', 'patience' and 'histogram' ones
- From
- Dmitry Malikov <malikov.d.y@gmail.com>
- Date
- May 12, 2015, 13:07 UTC
- Message-ID
- <CAAg4OeLuR9NY1NaEsjqd4hbuLqZuUo7j+BsVvQT37APY_QEYUQ@mail.gmail.com>
Good day,
I'm trying to compare 4 different git-diff algorithms and the 'minimal' one is the most vague and non-obvious. The documentation says "Spend extra time to make sure the smallest possible diff is produced." - that's all.
By any chance, is there any example of diff when 'minimal' algorithm produces a different result than a 'myers', 'patience' and 'histogram' ones?
PS: in case of a question like 'why do you need that?' - it's for testing purposes of some git wrapper library.