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>
Christian Couder committed
Apr 25, 2008 at 08:24 UTC
7e8114c0683e6ecfd400a5a798ae7e2fc91249fb
2 files changed
+13
Documentation/config.txt
+4
@@ -805,6 +805,10 @@ merge.<driver>.recursive::
805
performing an internal merge between common ancestors.
806
See linkgit:gitattributes[5] for details.
807
808
+man.<tool>.path::
809
+ Override the path for the given tool that may be used to
810
+ display help in the 'man' format. See linkgit:git-help[1].
811
+
812
mergetool.<tool>.path::
813
Override the path for the given tool. This is useful in case
814
your tool is not in the PATH.
Documentation/git-help.txt
+9
@@ -104,6 +104,15 @@ DISPLAY is not set) and in that case emacs' woman mode will be tried.
104
105
If everything fails the 'man' program will be tried anyway.
106
107
+man.<tool>.path
108
+~~~~~~~~~~~~~~~
109
+
110
+You can explicitly provide a full path to your preferred man viewer by
111
+setting the configuration variable 'man.<tool>.path'. For example, you
112
+can configure the absolute path to konqueror by setting
113
+'man.konqueror.path'. Otherwise, 'git help' assumes the tool is
114
+available in PATH.
115
+
116
Note about git config --global
117
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118