# [PATCH] Documentation: cloning to empty directory is allowed

1 messages from 2009-05-07 to 2009-05-07. Participants: Alexander Potashev.
Thread: https://gitlist.dev/t/19227

## Alexander Potashev, 2009-05-07 12:04

Subject: [PATCH] Documentation: cloning to empty directory is allowed
Message-ID: <1241697848-9263-1-git-send-email-aspotashev@gmail.com>
URL: https://gitlist.dev/e/1241697848-9263-1-git-send-email-aspotashev%40gmail.com

```
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>
---
 Documentation/git-clone.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 4072f40..b14de6c 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[]
-- 
1.6.2.3

```
