From: Alexander Potashev Date: Thu, 7 May 2009 12:04:08 +0000 (+0400) Subject: Documentation: cloning to empty directory is allowed X-Git-Tag: v1.6.3.1~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec00d6e0038e030cf73182374e21025c2776cb23;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 4072f40d7..b14de6c40 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -149,7 +149,7 @@ then the cloned repository will become corrupt. part of the source repository is used if no directory is explicitly given ("repo" for "/path/to/repo.git" and "foo" for "host.xz:foo/.git"). Cloning into an existing directory - is not allowed. + is only allowed if the directory is empty. :git-clone: 1 include::urls.txt[]