Skip to content

Commit

Permalink
documentation: help: add "man.<tool>.path" config variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Couder authored and Junio C Hamano committed Apr 26, 2008
1 parent 7b15f87 commit 7e8114c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 9 additions & 0 deletions Documentation/git-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 7e8114c

Please sign in to comment.