diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-09-23 14:21:39 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-23 14:21:39 -0700 |
commit | 406c1c4dd4a8f0fac3fddce1e7bb3b66af835e6a (patch) | |
tree | fdf9a1740fb73a40c0aee0f23d79792ea171f289 /t | |
parent | be5acb3b63af077db05788235a1d845d511e4561 (diff) | |
parent | 9b0ebc722cfc12bd14934aab5cf77ebe654e36e6 (diff) | |
download | git-406c1c4dd4a8f0fac3fddce1e7bb3b66af835e6a.tar.gz |
Merge branch 'nd/maint-clone-gitdir' into maint
* nd/maint-clone-gitdir:
clone: allow to clone from .git file
read_gitfile_gently(): rename misnamed function to read_gitfile()
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 |