Rename {git- => git}remote-helpers.txt

When looking up a topic via "git help <topic>", git-help prepends "git-" to topics that are the names of commands (either builtin or found on the path) and "git" (no hyphen) to any other topic name. "git-remote-helpers" is not the name of a command, so "git help remote-helpers" looks for "gitremote-helpers" and does not find it. Fix this by renaming "git-remote-helpers.txt" to "gitremote-helpers.txt". Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

John Keeping committed Jan 31, 2013 at 21:59 UTC bd4a3d616894c009a4500395e016ee8f0d4751a6
5 files changed +23 -7
Documentation/Makefile
+9 -2
@@ -1,7 +1,7 @@
1 MAN1_TXT= \
2 $(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
3 $(wildcard git-*.txt)) \
4 - gitk.txt gitweb.txt git.txt
4 + gitk.txt gitweb.txt git.txt gitremote-helpers.txt
5 MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \
6 gitrepository-layout.txt gitweb.conf.txt
7 MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \
@@ -13,7 +13,8 @@ MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
13 MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))
14 MAN_HTML=$(patsubst %.txt,%.html,$(MAN_TXT))
15
16 -DOC_HTML=$(MAN_HTML)
16 +OBSOLETE_HTML = git-remote-helpers.html
17 +DOC_HTML=$(MAN_HTML) $(OBSOLETE_HTML)
18
19 ARTICLES = howto-index
20 ARTICLES += everyday
@@ -261,6 +262,12 @@ $(MAN_HTML): %.html : %.txt asciidoc.conf
262 $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< && \
263 mv $@+ $@
264
265 +$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
266 + $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
267 + $(ASCIIDOC) -b xhtml11 -f asciidoc.conf \
268 + $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< && \
269 + mv $@+ $@
270 +
271 manpage-base-url.xsl: manpage-base-url.xsl.in
272 sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@
273
Documentation/git-remote-helpers.txto new
+9
@@ -0,0 +1,9 @@
1 +git-remote-helpers
2 +==================
3 +
4 +This document has been moved to linkgit:gitremote-helpers[1].
5 +
6 +Please let the owners of the referring site know so that they can update the
7 +link you clicked to get here.
8 +
9 +Thanks.
Documentation/git-remote-testgit.txt
+1 -1
@@ -23,7 +23,7 @@ The best way to learn more is to read the comments and source code in
23
24 SEE ALSO
25 --------
26 -linkgit:git-remote-helpers[1]
26 +linkgit:gitremote-helpers[1]
27
28 GIT
29 ---
Documentation/gitremote-helpers.txt renamed
+3 -3
@@ -1,9 +1,9 @@
1 -git-remote-helpers(1)
2 -=====================
1 +gitremote-helpers(1)
2 +====================
3
4 NAME
5 ----
6 -git-remote-helpers - Helper programs to interact with remote repositories
6 +gitremote-helpers - Helper programs to interact with remote repositories
7
8 SYNOPSIS
9 --------
Documentation/urls.txt
+1 -1
@@ -55,7 +55,7 @@ may be used:
55
56 where <address> may be a path, a server and path, or an arbitrary
57 URL-like string recognized by the specific remote helper being
58 -invoked. See linkgit:git-remote-helpers[1] for details.
58 +invoked. See linkgit:gitremote-helpers[1] for details.
59
60 If there are a large number of similarly-named remote repositories and
61 you want to use a different format for them (such that the URLs you