Documentation: fix git-clone manpage not to refer to itself
Signed-off-by: Sergei Organov <osv@javad.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sergei Organov committed
Nov 16, 2007 at 21:43 UTC
347989f4ea9f7ced91c482e4d77cc50ed31d2f50
2 files changed
+7
Documentation/git-clone.txt
+1
@@ -130,6 +130,7 @@ OPTIONS
130
for "host.xz:foo/.git"). Cloning into an existing directory
131
is not allowed.
132
133
+:git-clone: 1
134
include::urls.txt[]
135
136
Examples
Documentation/urls.txt
+6
@@ -36,5 +36,11 @@ To sync with a local directory, you can use:
36
- file:///path/to/repo.git/
37
===============================================================
38
39
+ifndef::git-clone[]
40
They are mostly equivalent, except when cloning. See
41
gitlink:git-clone[1] for details.
42
+endif::git-clone[]
43
+
44
+ifdef::git-clone[]
45
+They are equivalent, except the former implies --local option.
46
+endif::git-clone[]