| author | Christian Couder <chriscool@tuxfamily.org> | |
| Fri, 25 Apr 2008 06:24:22 +0000 (08:24 +0200) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sat, 26 Apr 2008 21:33:39 +0000 (14:33 -0700) | ||
| commit | 7b15f872f23855de59bd06b0ebdbbc47b27b781b | |
| tree | 6978798c11726bff6e03ece324bdafe0b18ff81f | tree | snapshot |
| parent | 36c79d2bf893b9957688a6c8c13cc0bf0589e596 | commit | diff |
help: use man viewer path from "man.<tool>.path" config var
This patch implements reading values from "man.<tool>.path"
configuration variables, and using these values as pathes to
the man viewer <tool>s when lauching them.
This makes it possible to use different version of the tools
than the one on the current PATH, or maybe a custom script.
In this patch we also try to launch "konqueror" using
"kfmclient" even if a path to a konqueror binary is given
in "man.konqueror.path".
The "man_viewer_list" becomes a simple string list to simplify
things for the following patches.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This patch implements reading values from "man.<tool>.path"
configuration variables, and using these values as pathes to
the man viewer <tool>s when lauching them.
This makes it possible to use different version of the tools
than the one on the current PATH, or maybe a custom script.
In this patch we also try to launch "konqueror" using
"kfmclient" even if a path to a konqueror binary is given
in "man.konqueror.path".
The "man_viewer_list" becomes a simple string list to simplify
things for the following patches.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
| help.c | diff | blob | history |