Skip to content

Commit 4db4f0f

Browse files
johnkeepinggitster
authored andcommitted
git-merge(1): document diff-algorithm option to merge-recursive
Commit 07924d4 (diff: Introduce --diff-algorithm command line option 2013-01-16) added diff-algorithm as a parameter to the recursive merge strategy but did not document it. Do so. Signed-off-by: John Keeping <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 07924d4 commit 4db4f0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/merge-strategies.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ patience;;
4848
this when the branches to be merged have diverged wildly.
4949
See also linkgit:git-diff[1] `--patience`.
5050

51+
diff-algorithm=[patience|minimal|histogram|myers];;
52+
Tells 'merge-recursive' to use a different diff algorithm, which
53+
can help avoid mismerges that occur due to unimportant matching
54+
lines (such as braces from distinct functions). See also
55+
linkgit:git-diff[1] `--diff-algorithm`.
56+
5157
ignore-space-change;;
5258
ignore-all-space;;
5359
ignore-space-at-eol;;

0 commit comments

Comments
 (0)