threads / patch / 19227

patchDocumentation: cloning to empty directory is allowed

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

## tl;dr

One message between May 7, 2009 and May 7, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alexander Potashev· May 7, 2009, 12:04 UTC · lore

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(-)
Show changes to Documentation/git-clone.txt +1 −1
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

← back to recent threads