summaryrefslogtreecommitdiffstats
path: root/git-merge-file.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-12-18 14:51:21 -0800
committerJunio C Hamano <gitster@pobox.com>2023-12-18 14:51:21 -0800
commit250471115e57233c974e232132a6fc58f8e8be6d (patch)
tree9495986afe9e0e38eec9786e21d5572b599352b0 /git-merge-file.txt
parent9c919c74b7fda282913220a8f9af0f70d47a194c (diff)
downloadgit-htmldocs-250471115e57233c974e232132a6fc58f8e8be6d.tar.gz
Autogenerated HTML docs for v2.43.0-121-g624eb9
Diffstat (limited to 'git-merge-file.txt')
-rw-r--r--git-merge-file.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-merge-file.txt b/git-merge-file.txt
index 6a081eacb..71915a00f 100644
--- a/git-merge-file.txt
+++ b/git-merge-file.txt
@@ -92,6 +92,12 @@ object store and the object ID of its blob is written to standard output.
Instead of leaving conflicts in the file, resolve conflicts
favouring our (or their or both) side of the lines.
+--diff-algorithm={patience|minimal|histogram|myers}::
+ Use a different diff algorithm while merging. The current default is "myers",
+ but selecting more recent algorithm such as "histogram" can help
+ avoid mismerges that occur due to unimportant matching lines
+ (such as braces from distinct functions). See also
+ linkgit:git-diff[1] `--diff-algorithm`.
EXAMPLES
--------