clone --bare: Add ".git" suffix to the directory name to clone into
[gitweb.git] / t / t5601-clone.sh
index a5334570ad4e944ac7c95e9b6c41bb96cb475c0c..57173b4c50ec5f30198c9bf8bd8d03edd17bb235 100755 (executable)
@@ -82,4 +82,11 @@ test_expect_success 'clone --mirror' '
 
 '
 
+test_expect_success 'clone --bare names the local repository <name>.git' '
+
+       git clone --bare src &&
+       test -d src.git
+
+'
+
 test_done