summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 15:24:27 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-10 15:24:27 -0800
commit2ced5f2c2ddcfe3a45d75ae1d552c11cad70236d (patch)
tree119f95fb9e29fc40c111984b0ab51f75d2a65f68 /Documentation
parentMerge branch 'nd/config-misc-fixes' (diff)
parentdiff: retire "compaction" heuristics (diff)
downloadtgif-2ced5f2c2ddcfe3a45d75ae1d552c11cad70236d.tar.xz
Merge branch 'jc/retire-compaction-heuristics'
"git diff" and its family had two experimental heuristics to shift the contents of a hunk to make the patch easier to read. One of them turns out to be better than the other, so leave only the "--indent-heuristic" option and remove the other one. * jc/retire-compaction-heuristics: diff: retire "compaction" heuristics
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/diff-config.txt6
-rw-r--r--Documentation/diff-heuristic-options.txt2
2 files changed, 2 insertions, 6 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 58f4bd6afa..d8570f2a75 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -172,10 +172,8 @@ diff.tool::
include::mergetools-diff.txt[]
diff.indentHeuristic::
-diff.compactionHeuristic::
- Set one of these options to `true` to enable one of two
- experimental heuristics that shift diff hunk boundaries to
- make patches easier to read.
+ Set this option to `true` to enable experimental heuristics
+ that shift diff hunk boundaries to make patches easier to read.
diff.algorithm::
Choose a diff algorithm. The variants are as follows:
diff --git a/Documentation/diff-heuristic-options.txt b/Documentation/diff-heuristic-options.txt
index 36cb549df9..d4f3d95505 100644
--- a/Documentation/diff-heuristic-options.txt
+++ b/Documentation/diff-heuristic-options.txt
@@ -1,7 +1,5 @@
--indent-heuristic::
--no-indent-heuristic::
---compaction-heuristic::
---no-compaction-heuristic::
These are to help debugging and tuning experimental heuristics
(which are off by default) that shift diff hunk boundaries to
make patches easier to read.