threads / patch / 13252

patch, 5 partsdocumentation: help: add "man.<tool>.path" config variable

Subject: [PATCH 2/5] documentation: help: add "man.<tool>.path" config variable

## tl;dr

One message between Apr 25, 2008 and Apr 25, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Christian Couder· Apr 25, 2008, 06:24 UTC · lore

This patch documents the "man.<tool>.path" configuration variable.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
 Documentation/config.txt   |    4 ++++
 Documentation/git-help.txt |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)
Show changes to 2 files +13 −0

Documentation/config.txt, Documentation/git-help.txt

diff --git a/Documentation/config.txt b/Documentation/config.txt
index b109bdf..c1c72e7 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -773,6 +773,10 @@ man.viewer::
 	Specify the programs that may be used to display help in the
 	'man' format. See linkgit:git-help[1].
 
+man.<tool>.path::
+	Override the path for the given tool that may be used to
+	display help in the 'man' format. See linkgit:git-help[1].
+
 include::merge-config.txt[]
 
 mergetool.<tool>.path::
diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt
index be2ae53..4c6cb21 100644
--- a/Documentation/git-help.txt
+++ b/Documentation/git-help.txt
@@ -104,6 +104,15 @@ DISPLAY is not set) and in that case emacs' woman mode will be tried.
 
 If everything fails the 'man' program will be tried anyway.
 
+man.<tool>.path
+~~~~~~~~~~~~~~~
+
+You can explicitly provide a full path to your preferred man viewer by
+setting the configuration variable 'man.<tool>.path'. For example, you
+can configure the absolute path to konqueror by setting
+'man.konqueror.path'. Otherwise, 'git help' assumes the tool is
+available in PATH.
+
 Note about git config --global
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-- 
1.5.5.130.g3ab1e.dirty

← back to recent threads