interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

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+
18For instance, if you configured the `diff.algorithm` variable to a
19non-default value and want to use the default one, then you
20have to use `--diff-algorithm=default` option.