Rename git-browse-help helper to git-browse--help
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,7 +12,7 @@ git-archive
|
|||||||
git-bisect
|
git-bisect
|
||||||
git-blame
|
git-blame
|
||||||
git-branch
|
git-branch
|
||||||
git-browse-help
|
git-browse--help
|
||||||
git-bundle
|
git-bundle
|
||||||
git-cat-file
|
git-cat-file
|
||||||
git-check-attr
|
git-check-attr
|
||||||
|
@ -47,13 +47,13 @@ OPTIONS
|
|||||||
+
|
+
|
||||||
The web browser can be specified using the configuration variable
|
The web browser can be specified using the configuration variable
|
||||||
'help.browser', or 'web.browser' if the former is not set. If none of
|
'help.browser', or 'web.browser' if the former is not set. If none of
|
||||||
these config variables is set, the 'git-browse-help' script (called by
|
these config variables is set, the 'git-browse--help' helper script
|
||||||
'git-help') will pick a suitable default.
|
(called by 'git-help') will pick a suitable default.
|
||||||
+
|
+
|
||||||
You can explicitly provide a full path to your prefered browser by
|
You can explicitly provide a full path to your prefered browser by
|
||||||
setting the configuration variable 'browser.<tool>.path'. For example,
|
setting the configuration variable 'browser.<tool>.path'. For example,
|
||||||
you can configure the absolute path to firefox by setting
|
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-browse--help' assumes the tool
|
||||||
is available in PATH.
|
is available in PATH.
|
||||||
+
|
+
|
||||||
Note that the script tries, as much as possible, to display the HTML
|
Note that the script tries, as much as possible, to display the HTML
|
||||||
|
7
Makefile
7
Makefile
@ -227,7 +227,7 @@ SCRIPT_SH = \
|
|||||||
git-lost-found.sh git-quiltimport.sh git-submodule.sh \
|
git-lost-found.sh git-quiltimport.sh git-submodule.sh \
|
||||||
git-filter-branch.sh \
|
git-filter-branch.sh \
|
||||||
git-stash.sh \
|
git-stash.sh \
|
||||||
git-browse-help.sh
|
git-browse--help.sh
|
||||||
|
|
||||||
SCRIPT_PERL = \
|
SCRIPT_PERL = \
|
||||||
git-add--interactive.perl \
|
git-add--interactive.perl \
|
||||||
@ -1144,9 +1144,8 @@ check-docs::
|
|||||||
case "$$v" in \
|
case "$$v" in \
|
||||||
git-merge-octopus | git-merge-ours | git-merge-recursive | \
|
git-merge-octopus | git-merge-ours | git-merge-recursive | \
|
||||||
git-merge-resolve | git-merge-stupid | git-merge-subtree | \
|
git-merge-resolve | git-merge-stupid | git-merge-subtree | \
|
||||||
git-add--interactive | git-fsck-objects | git-init-db | \
|
git-fsck-objects | git-init-db | git-repo-config | \
|
||||||
git-rebase--interactive | \
|
git-?*--?* ) continue ;; \
|
||||||
git-repo-config | git-fetch--tool ) continue ;; \
|
|
||||||
esac ; \
|
esac ; \
|
||||||
test -f "Documentation/$$v.txt" || \
|
test -f "Documentation/$$v.txt" || \
|
||||||
echo "no doc: $$v"; \
|
echo "no doc: $$v"; \
|
||||||
|
2
help.c
2
help.c
@ -331,7 +331,7 @@ static void show_info_page(const char *git_cmd)
|
|||||||
static void show_html_page(const char *git_cmd)
|
static void show_html_page(const char *git_cmd)
|
||||||
{
|
{
|
||||||
const char *page = cmd_to_page(git_cmd);
|
const char *page = cmd_to_page(git_cmd);
|
||||||
execl_git_cmd("browse-help", page, NULL);
|
execl_git_cmd("browse--help", page, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void help_unknown_cmd(const char *cmd)
|
void help_unknown_cmd(const char *cmd)
|
||||||
|
Reference in New Issue
Block a user