@matheusbsbs / matheus-bagliano / commits / 5b4617c749
Fork 0

Rename git-browse-help helper to git-browse--help

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Dec 14, 2007 at 22:02 UTC 5b4617c7490921f3ea871231f71d6baa2288bf93
5 files changed +8 -9
.gitignore
+1 -1
@@ -12,7 +12,7 @@ git-archive
12 git-bisect
13 git-blame
14 git-branch
15 -git-browse-help
15 +git-browse--help
16 git-bundle
17 git-cat-file
18 git-check-attr
Documentation/git-help.txt
+3 -3
@@ -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' script (called by
51 -'git-help') will pick a suitable default.
50 +these config variables is set, the 'git-browse--help' 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-browse--help' assumes the tool
57 is available in PATH.
58 +
59 Note that the script tries, as much as possible, to display the HTML
Makefile
+3 -4
@@ -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-browse--help.sh
231
232 SCRIPT_PERL = \
233 git-add--interactive.perl \
@@ -1144,9 +1144,8 @@ check-docs::
1144 case "$$v" in \
1145 git-merge-octopus | git-merge-ours | git-merge-recursive | \
1146 git-merge-resolve | git-merge-stupid | git-merge-subtree | \
1147 - git-add--interactive | git-fsck-objects | git-init-db | \
1148 - git-rebase--interactive | \
1149 - git-repo-config | git-fetch--tool ) continue ;; \
1147 + git-fsck-objects | git-init-db | git-repo-config | \
1148 + git-?*--?* ) continue ;; \
1149 esac ; \
1150 test -f "Documentation/$$v.txt" || \
1151 echo "no doc: $$v"; \
git-browse--help.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("browse--help", page, NULL);
335 }
336
337 void help_unknown_cmd(const char *cmd)