]> git.ipfire.org Git - thirdparty/git.git/commitdiff
merge-strategies.txt: avoid giving special preference to patience algorithm
authorElijah Newren <newren@gmail.com>
Wed, 4 Aug 2021 23:50:50 +0000 (23:50 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Aug 2021 15:57:40 +0000 (08:57 -0700)
We already have diff-algorithm that explains why there are special diff
algorithms, so we do not need to re-explain patience.  patience exists
as its own toplevel option for historical reasons, but there's no reason
to give it special preference or document it again and suggest it's more
important than other diff algorithms, so just refer to it as a
deprecated shorthand for `diff-algorithm=patience`.

Acked-by: Derrick Stolee <dstolee@microsoft.com>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/merge-strategies.txt

index e2988124581f58fd895e0522a6da4729b224adf5..b54bcf68f2dd4fac4770a0c068daa327a0cd93d2 100644 (file)
@@ -37,11 +37,7 @@ theirs;;
        no 'theirs' merge strategy to confuse this merge option with.
 
 patience;;
-       With this option, 'merge-recursive' spends a little extra time
-       to avoid mismerges that sometimes occur due to unimportant
-       matching lines (e.g., braces from distinct functions).  Use
-       this when the branches to be merged have diverged wildly.
-       See also linkgit:git-diff[1] `--patience`.
+       Deprecated synonym for `diff-algorithm=patience`.
 
 diff-algorithm=[patience|minimal|histogram|myers];;
        Use a different diff algorithm while merging, which can help