aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Organov <osv@javad.com>2007-11-16 21:43:16 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-17 00:57:05 -0800
commit347989f4ea9f7ced91c482e4d77cc50ed31d2f50 (patch)
tree933a63dd310575cd8cb7523df7753c0bf8821e66
parente502c2c31fbe1a39b964102ead7237ab3246753d (diff)
downloadgit-347989f4ea9f7ced91c482e4d77cc50ed31d2f50.tar.gz
git-347989f4ea9f7ced91c482e4d77cc50ed31d2f50.tar.xz
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>
-rw-r--r--Documentation/git-clone.txt1
-rw-r--r--Documentation/urls.txt6
2 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 14e58f386..c90bcece2 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -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
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index e67f9140a..4f667382e 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -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[]