difftool docs: restore correct position of tool list
PATCH 1/1 difftool docs: restore correct position of tool list
From: Adam Johnson <[email protected]>
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. This patch restores the correct position of the included list.
---
difftool docs: restore correct position of tool list
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1849%2Fadamchainz%2Faj%2Fgit-difftool-docs-fix-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1849/adamchainz/aj/git-difftool-docs-fix-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1849
Documentation/config/diff.txt | 2 -- Documentation/config/difftool.txt | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/config/diff.txt +0 -2
@@ -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.
Documentation/config/difftool.txt +2 -0
@@ -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
base-commit: a60673e9252b08d4eca90543b3729f4798b9aafd
Signature · 1 line
gitgitgadget
Quoted 5 lines · Adam Johnson via GitGitGadget
From: Adam Johnson <[email protected]>
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.
Thanks for a very clearly written problem description.
Documentation/config/diff.txt endif::git-diff[] · line 222
Quoted 10 lines
Documentation/config/diff.txt +0
-2@@ -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[] -
Above this include, there was an entry for diff.guitool, and this generated file was to enumerate possible values for the configuration.
Documentation/config/difftool.txt diff.guitool:: · line 17
Quoted 13 lines
Documentation/config/diff.txt +0
-0`diff.indentHeuristic`:: Set this option to `false` to disable the default heuristics that shift diff hunk boundaries to make patches easier to read.Documentation/config/difftool.txt +2
-0@@ -13,6 +13,8 @@ diff.guitool:: and requires that a corresponding difftool.<guitool>.cmd variable is defined. +include::{build_dir}/mergetools-diff.txt[] +
And the list now sits at the right place.
Will queue. Thanks.
Quoted 5 lines
Documentation/config/difftool.txt +0
-0difftool.<tool>.cmd:: Specify the command to invoke the specified diff tool. The specified command is evaluated in shell with the followingbase-commit:
a60673e9252b08d4eca90543b3729f4798b9aafd