Skip to content

Commit

Permalink
Merge branch 'jk/remote-helpers-doc'
Browse files Browse the repository at this point in the history
"git help remote-helpers" did not work; 'remote-helpers' is not
a subcommand name but a concept, so its documentation should have
been in gitremote-helpers, not git-remote-helpers.

* jk/remote-helpers-doc:
  Rename {git- => git}remote-helpers.txt
  • Loading branch information
gitster committed Feb 7, 2013
2 parents b5b56ea + bd4a3d6 commit 8e12ab2
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 7 deletions.
11 changes: 9 additions & 2 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MAN1_TXT= \
$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \
$(wildcard git-*.txt)) \
gitk.txt gitweb.txt git.txt
gitk.txt gitweb.txt git.txt gitremote-helpers.txt
MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt \
gitrepository-layout.txt gitweb.conf.txt
MAN7_TXT=gitcli.txt gittutorial.txt gittutorial-2.txt \
Expand All @@ -13,7 +13,8 @@ MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)
MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))
MAN_HTML=$(patsubst %.txt,%.html,$(MAN_TXT))

DOC_HTML=$(MAN_HTML)
OBSOLETE_HTML = git-remote-helpers.html
DOC_HTML=$(MAN_HTML) $(OBSOLETE_HTML)

ARTICLES = howto-index
ARTICLES += everyday
Expand Down Expand Up @@ -261,6 +262,12 @@ $(MAN_HTML): %.html : %.txt asciidoc.conf
$(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< && \
mv $@+ $@

$(OBSOLETE_HTML): %.html : %.txto asciidoc.conf
$(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
$(ASCIIDOC) -b xhtml11 -f asciidoc.conf \
$(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< && \
mv $@+ $@

manpage-base-url.xsl: manpage-base-url.xsl.in
sed "s|@@MAN_BASE_URL@@|$(MAN_BASE_URL)|" $< > $@

Expand Down
9 changes: 9 additions & 0 deletions Documentation/git-remote-helpers.txto
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
git-remote-helpers
==================

This document has been moved to linkgit:gitremote-helpers[1].

Please let the owners of the referring site know so that they can update the
link you clicked to get here.

Thanks.
2 changes: 1 addition & 1 deletion Documentation/git-remote-testgit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The best way to learn more is to read the comments and source code in

SEE ALSO
--------
linkgit:git-remote-helpers[1]
linkgit:gitremote-helpers[1]

GIT
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
git-remote-helpers(1)
=====================
gitremote-helpers(1)
====================

NAME
----
git-remote-helpers - Helper programs to interact with remote repositories
gitremote-helpers - Helper programs to interact with remote repositories

SYNOPSIS
--------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ may be used:

where <address> may be a path, a server and path, or an arbitrary
URL-like string recognized by the specific remote helper being
invoked. See linkgit:git-remote-helpers[1] for details.
invoked. See linkgit:gitremote-helpers[1] for details.

If there are a large number of similarly-named remote repositories and
you want to use a different format for them (such that the URLs you
Expand Down

0 comments on commit 8e12ab2

Please sign in to comment.