diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t5601-clone.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 151ea531bd..501bd3fb6c 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -202,6 +202,10 @@ test_expect_success 'clone separate gitdir: output' ' 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 |