OSDN Git Service

Documentation: fix git-clone manpage not to refer to itself
authorSergei Organov <osv@javad.com>
Fri, 16 Nov 2007 18:43:16 +0000 (21:43 +0300)
committerJunio C Hamano <gitster@pobox.com>
Sat, 17 Nov 2007 08:57:05 +0000 (00:57 -0800)
Signed-off-by: Sergei Organov <osv@javad.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt
Documentation/urls.txt

index 14e58f3..c90bcec 100644 (file)
@@ -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
index e67f914..4f66738 100644 (file)
@@ -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[]