Documentation: cloning to empty directory is allowed
Cloning into an existing empty directory is now allowed: commit 55892d23981917aefdb387ad7d0429f90cbd446a ("Allow cloning to an existing empty directory") Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alexander Potashev committed
May 7, 2009 at 16:04 UTC
ec00d6e0038e030cf73182374e21025c2776cb23
1 file changed
+1
-1
Documentation/git-clone.txt
+1
-1
@@ -149,7 +149,7 @@ then the cloned repository will become corrupt.
149
part of the source repository is used if no directory is
150
explicitly given ("repo" for "/path/to/repo.git" and "foo"
151
for "host.xz:foo/.git"). Cloning into an existing directory
152
- is not allowed.
152
+ is only allowed if the directory is empty.
153
154
:git-clone: 1
155
include::urls.txt[]