Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/diff-algorithm-option.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / diff-algorithm-option.adoc` 20 lines ยท 658 bytes Raw Blame History 1 `--diff-algorithm=(patience|minimal|histogram|myers)`:: 2 Choose a diff algorithm. The variants are as follows: 3 + 4 -- 5 `default`;; 6 `myers`;; 7 The basic greedy diff algorithm. Currently, this is the default. 8 `minimal`;; 9 Spend extra time to make sure the smallest possible diff is 10 produced. 11 `patience`;; 12 Use "patience diff" algorithm when generating patches. 13 `histogram`;; 14 This algorithm extends the patience algorithm to "support 15 low-occurrence common elements". 16 -- 17 + 18 For instance, if you configured the `diff.algorithm` variable to a 19 non-default value and want to use the default one, then you 20 have to use `--diff-algorithm=default` option.