summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2008-02-02 07:32:41 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-05 01:01:47 -0800
commitcaa87713bca77c441c09282aa5b18b179bcfa90d (patch)
treefd72f1389faec75e26c3699d4a7b4d5c801a495d /help.c
parent482cce820554809c02bc639bb33462f9905e4342 (diff)
downloadgit-caa87713bca77c441c09282aa5b18b179bcfa90d.tar.gz
help--browse: add '--config' option to check a config option for a browser.
The value of this new command line option will be used as a key to check the configuration for an help browser. This should remove the last bit in 'git-help--browse' that was specific to 'git-help', so that other git command can use 'git-help--browse'. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
-rw-r--r--help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/help.c b/help.c
index b929899e68..058a397534 100644
--- a/help.c
+++ b/help.c
@@ -347,7 +347,7 @@ static void show_html_page(const char *git_cmd)
get_html_page_path(&page_path, page);
- execl_git_cmd("help--browse", page_path.buf, NULL);
+ execl_git_cmd("help--browse", "-c", "help.browser", page_path.buf, NULL);
}
void help_unknown_cmd(const char *cmd)