summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-04-25 08:24:41 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-26 14:33:56 -0700
commit7e8114c0683e6ecfd400a5a798ae7e2fc91249fb (patch)
treed4f7974afa13eb74a2a9c0cf114756d95959ae94 /Documentation
parent7b15f872f23855de59bd06b0ebdbbc47b27b781b (diff)
downloadgit-7e8114c0683e6ecfd400a5a798ae7e2fc91249fb.tar.gz
documentation: help: add "man.<tool>.path" config variable
This patch documents the "man.<tool>.path" configuration variable. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt4
-rw-r--r--Documentation/git-help.txt9
2 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 7a24f6e819..138ba9ad8f 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -805,6 +805,10 @@ merge.<driver>.recursive::
performing an internal merge between common ancestors.
See linkgit:gitattributes[5] for details.
+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].
+
mergetool.<tool>.path::
Override the path for the given tool. This is useful in case
your tool is not in the PATH.
diff --git a/Documentation/git-help.txt b/Documentation/git-help.txt
index be2ae53b90..4c6cb2194c 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~