]> git.ipfire.org Git - thirdparty/git.git/commitdiff
rename git-browse--help to git-help--browse
authorJeff King <peff@peff.net>
Sun, 16 Dec 2007 07:21:04 +0000 (02:21 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 16 Dec 2007 20:52:40 +0000 (12:52 -0800)
The convention for helper scripts has been
git-$TOOL--$HELPER. Since this is a "browse" helper for the
"help" tool, git-help--browse is a more sensible name.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-help.txt
Makefile
git-help--browse.sh [moved from git-browse--help.sh with 100% similarity]
help.c

index aef01c5a2b62c7d2c15b7890925530c132425119..dab5bc2a3ceb56d0dab0496364b9361ce05155a4 100644 (file)
@@ -12,7 +12,6 @@ git-archive
 git-bisect
 git-blame
 git-branch
-git-browse--help
 git-bundle
 git-cat-file
 git-check-attr
@@ -52,6 +51,7 @@ git-gc
 git-get-tar-commit-id
 git-grep
 git-hash-object
+git-help--browse
 git-http-fetch
 git-http-push
 git-imap-send
index 8cd69e7129f431185a1d78953cde5d955675372d..da3f71850a902feba27e809440ebcfebe0a4e483 100644 (file)
@@ -47,13 +47,13 @@ OPTIONS
 +
 The web browser can be specified using the configuration variable
 'help.browser', or 'web.browser' if the former is not set. If none of
-these config variables is set, the 'git-browse--help' helper script
+these config variables is set, the 'git-help--browse' helper script
 (called by 'git-help') will pick a suitable default.
 +
 You can explicitly provide a full path to your prefered browser by
 setting the configuration variable 'browser.<tool>.path'. For example,
 you can configure the absolute path to firefox by setting
-'browser.firefox.path'. Otherwise, 'git-browse--help' assumes the tool
+'browser.firefox.path'. Otherwise, 'git-help--browse' assumes the tool
 is available in PATH.
 +
 Note that the script tries, as much as possible, to display the HTML
index b9fe40bd4382b6385b705c3c0190cb24db43a9c6..617e5f5a4bffcfbc84dbf804958978bd7fcf5c3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -227,7 +227,7 @@ SCRIPT_SH = \
        git-lost-found.sh git-quiltimport.sh git-submodule.sh \
        git-filter-branch.sh \
        git-stash.sh \
-       git-browse--help.sh
+       git-help--browse.sh
 
 SCRIPT_PERL = \
        git-add--interactive.perl \
similarity index 100%
rename from git-browse--help.sh
rename to git-help--browse.sh
diff --git a/help.c b/help.c
index f9ce6db34f43874442223468dbc536a7369ae1c5..1302a61c83c524099e7d39257daa273a09edad4f 100644 (file)
--- a/help.c
+++ b/help.c
@@ -331,7 +331,7 @@ static void show_info_page(const char *git_cmd)
 static void show_html_page(const char *git_cmd)
 {
        const char *page = cmd_to_page(git_cmd);
-       execl_git_cmd("browse--help", page, NULL);
+       execl_git_cmd("help--browse", page, NULL);
 }
 
 void help_unknown_cmd(const char *cmd)