]> Kevux Git Server - rit/commitdiff
difftool docs: restore correct position of tool list
authorAdam Johnson <me@adamj.eu>
Wed, 8 Jan 2025 23:35:23 +0000 (23:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Jan 2025 16:46:53 +0000 (08:46 -0800)
2a9dfdf260 (difftool docs: de-duplicate configuration sections, 2022-09-07)
moved the difftool documentation, but missed moving this "include" line that
includes the generated list of diff tools, as referenced in the moved text.

Restore the correct position of the included list.

Signed-off-by: Adam Johnson <me@adamj.eu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/diff.txt
Documentation/config/difftool.txt

index fdae13a..1135a62 100644 (file)
@@ -218,8 +218,6 @@ endif::git-diff[]
        Set this option to `true` to make the diff driver cache the text
        conversion outputs.  See linkgit:gitattributes[5] for details.
 
-include::{build_dir}/mergetools-diff.txt[]
-
 `diff.indentHeuristic`::
        Set this option to `false` to disable the default heuristics
        that shift diff hunk boundaries to make patches easier to read.
index 447c40d..6cd4733 100644 (file)
@@ -13,6 +13,8 @@ diff.guitool::
        and requires that a corresponding difftool.<guitool>.cmd variable
        is defined.
 
+include::{build_dir}/mergetools-diff.txt[]
+
 difftool.<tool>.cmd::
        Specify the command to invoke the specified diff tool.
        The specified command is evaluated in shell with the following