help: use man viewer path from "man.<tool>.path" config var
commit7b15f872f23855de59bd06b0ebdbbc47b27b781b
authorChristian Couder <chriscool@tuxfamily.org>
Fri, 25 Apr 2008 06:24:22 +0000 (25 08:24 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Apr 2008 21:33:39 +0000 (26 14:33 -0700)
tree6978798c11726bff6e03ece324bdafe0b18ff81f
parent36c79d2bf893b9957688a6c8c13cc0bf0589e596
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>
help.c