Skip to content

Commit

Permalink
Documentation: fix git-clone manpage not to refer to itself
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Organov <osv@javad.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Sergei Organov authored and Junio C Hamano committed Nov 17, 2007
1 parent e502c2c commit 347989f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/git-clone.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ OPTIONS
for "host.xz:foo/.git"). Cloning into an existing directory
is not allowed.

:git-clone: 1
include::urls.txt[]

Examples
Expand Down
6 changes: 6 additions & 0 deletions Documentation/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ To sync with a local directory, you can use:
- file:///path/to/repo.git/
===============================================================

ifndef::git-clone[]
They are mostly equivalent, except when cloning. See
gitlink:git-clone[1] for details.
endif::git-clone[]

ifdef::git-clone[]
They are equivalent, except the former implies --local option.
endif::git-clone[]

0 comments on commit 347989f

Please sign in to comment.