diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index d87214cfbf95d44baa9683b6b05a78743ee78bfb..e8103144bb026afb12f5b058b9ec399b70abebbd 100755 (executable)
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
test_cmp expected dst/.git
'
+test_expect_success 'clone from .git file' '
+ git clone dst/.git dst2
+'
+
test_expect_success 'clone separate gitdir where target already exists' '
rm -rf dst &&
test_must_fail git clone --separate-git-dir realgitdir src dst