]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'sg/diff-indent-heuristic-non-experimental'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2019 19:26:36 +0000 (12:26 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2019 19:26:36 +0000 (12:26 -0700)
We promoted the "indent heuristics" that decides where to split
diff hunks from experimental to the default a few years ago, but
some stale documentation still marked it as experimental, which has
been corrected.

* sg/diff-indent-heuristic-non-experimental:
  diff: 'diff.indentHeuristic' is no longer experimental

1  2 
Documentation/config/diff.txt

index 5afb5a2cbc69b763263e3e265343884c0ff64dda,555790336ca02cd3581819cce70b1863f7d80a74..ff09f1cf737c062898ac40555402de097d360eb9
@@@ -78,8 -78,7 +78,8 @@@ diff.external:
  diff.ignoreSubmodules::
        Sets the default value of --ignore-submodules. Note that this
        affects only 'git diff' Porcelain, and not lower level 'diff'
 -      commands such as 'git diff-files'. 'git checkout' also honors
 +      commands such as 'git diff-files'. 'git checkout'
 +      and 'git switch' also honor
        this setting when reporting uncommitted changes. Setting it to
        'all' disables the submodule summary normally shown by 'git commit'
        and 'git status' when `status.submoduleSummary` is set unless it is
@@@ -189,7 -188,7 +189,7 @@@ diff.guitool:
  include::../mergetools-diff.txt[]
  
  diff.indentHeuristic::
-       Set this option to `true` to enable experimental heuristics
+       Set this option to `false` to disable the default heuristics
        that shift diff hunk boundaries to make patches easier to read.
  
  diff.algorithm::