1. 7
  1.  

  2. 1

    This diff algorithm is easier to understand when you can see an example of the diff it generates. Here is a Gist diffing the example in the article using both the default (myers) algorithm and the patience algorithm: comparison #1 between Git diff algorithms.

    The patience algorithm works better in that example. The default algorithm works better with this example (from this comment): comparison #2 between Git diff algorithms. Though that kind of text seems unlikely.

    You can make Git use the patience algorithm temporarily with git diff --patience or git merge --strategy-option=patience (source). You can make the patience algorithm the default with git config --global diff.algorithm patience.