Skip to content

Commit c217b93

Browse files
Denton-Lgitster
authored andcommitted
doc: document diff/merge.guitool config keys
Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 57ba181 commit c217b93

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

Documentation/diff-config.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,14 @@ diff.tool::
177177
Any other value is treated as a custom diff tool and requires
178178
that a corresponding difftool.<tool>.cmd variable is defined.
179179

180+
diff.guitool::
181+
Controls which diff tool is used by linkgit:git-difftool[1] when
182+
the -g/--gui flag is specified. This variable overrides the value
183+
configured in `merge.guitool`. The list below shows the valid
184+
built-in values. Any other value is treated as a custom diff tool
185+
and requires that a corresponding difftool.<guitool>.cmd variable
186+
is defined.
187+
180188
include::mergetools-diff.txt[]
181189

182190
diff.indentHeuristic::

Documentation/merge-config.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ merge.tool::
6363
Any other value is treated as a custom merge tool and requires
6464
that a corresponding mergetool.<tool>.cmd variable is defined.
6565

66+
merge.guitool::
67+
Controls which merge tool is used by linkgit:git-mergetool[1] when the
68+
-g/--gui flag is specified. The list below shows the valid built-in values.
69+
Any other value is treated as a custom merge tool and requires that a
70+
corresponding mergetool.<guitool>.cmd variable is defined.
71+
6672
include::mergetools-merge.txt[]
6773

6874
merge.verbosity::

0 commit comments

Comments
 (0)