@matheusbsbs / matheus-bagliano / commits / d7e522cffb
Fork 0

rename git-browse--help to git-help--browse

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>

Jeff King committed Dec 16, 2007 at 02:21 UTC d7e522cffb2224b91c9c0edde093fbb81a0289b0
5 files changed +5 -5
.gitignore
+1 -1
@@ -12,7 +12,6 @@ git-archive
12 git-bisect
13 git-blame
14 git-branch
15 -git-browse--help
15 git-bundle
16 git-cat-file
17 git-check-attr
@@ -52,6 +51,7 @@ git-gc
51 git-get-tar-commit-id
52 git-grep
53 git-hash-object
54 +git-help--browse
55 git-http-fetch
56 git-http-push
57 git-imap-send
Documentation/git-help.txt
+2 -2
@@ -47,13 +47,13 @@ OPTIONS
47 +
48 The web browser can be specified using the configuration variable
49 'help.browser', or 'web.browser' if the former is not set. If none of
50 -these config variables is set, the 'git-browse--help' helper script
50 +these config variables is set, the 'git-help--browse' helper script
51 (called by 'git-help') will pick a suitable default.
52 +
53 You can explicitly provide a full path to your prefered browser by
54 setting the configuration variable 'browser.<tool>.path'. For example,
55 you can configure the absolute path to firefox by setting
56 -'browser.firefox.path'. Otherwise, 'git-browse--help' assumes the tool
56 +'browser.firefox.path'. Otherwise, 'git-help--browse' assumes the tool
57 is available in PATH.
58 +
59 Note that the script tries, as much as possible, to display the HTML
Makefile
+1 -1
@@ -227,7 +227,7 @@ SCRIPT_SH = \
227 git-lost-found.sh git-quiltimport.sh git-submodule.sh \
228 git-filter-branch.sh \
229 git-stash.sh \
230 - git-browse--help.sh
230 + git-help--browse.sh
231
232 SCRIPT_PERL = \
233 git-add--interactive.perl \
git-help--browse.sh renamed
help.c
+1 -1
@@ -331,7 +331,7 @@ static void show_info_page(const char *git_cmd)
331 static void show_html_page(const char *git_cmd)
332 {
333 const char *page = cmd_to_page(git_cmd);
334 - execl_git_cmd("browse--help", page, NULL);
334 + execl_git_cmd("help--browse", page, NULL);
335 }
336
337 void help_unknown_cmd(const char *cmd)