Merge branch 'jl/submodule-deinit'
[gitweb.git] / Documentation / diff-config.txt
index 7c70c2a2feca88a2c1247794e2ee0fbed767bb4a..ac770502553d9b4d3d1176f63ad01791736602a8 100644 (file)
@@ -156,3 +156,20 @@ diff.tool::
        that a corresponding difftool.<tool>.cmd variable is defined.
 
 include::mergetools-diff.txt[]
+
+diff.algorithm::
+       Choose a diff algorithm.  The variants are as follows:
++
+--
+`default`, `myers`;;
+       The basic greedy diff algorithm. Currently, this is the default.
+`minimal`;;
+       Spend extra time to make sure the smallest possible diff is
+       produced.
+`patience`;;
+       Use "patience diff" algorithm when generating patches.
+`histogram`;;
+       This algorithm extends the patience algorithm to "support
+       low-occurrence common elements".
+--
++