summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-01-25 12:53:31 -0800
committerJunio C Hamano <gitster@pobox.com>2013-01-25 12:53:31 -0800
commit50a6b54c03219ad74b9f3f839e0321be18daeaf6 (patch)
tree6919b4b808d350f68bf80636a778c1b1a4f36f47 /t
parent3587b513bafd7a83d8c816ac1deed72b5e3a27e9 (diff)
parentbc93ceb7c5ec959ad275f575a3c49ff491337a8b (diff)
downloadgit-50a6b54c03219ad74b9f3f839e0321be18daeaf6.tar.gz
Merge branch 'for-junio' of git://bogomips.org/git-svn
* 'for-junio' of git://bogomips.org/git-svn: git-svn: Simplify calculation of GIT_DIR git-svn: cleanup sprintf usage for uppercasing hex
Diffstat (limited to 't')
-rwxr-xr-xt/t9100-git-svn-basic.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh
index 749b75e8d4..4fea8d901b 100755
--- a/t/t9100-git-svn-basic.sh
+++ b/t/t9100-git-svn-basic.sh
@@ -306,5 +306,13 @@ test_expect_success 'git-svn works in a bare repository' '
git svn fetch ) &&
rm -rf bare-repo
'
+test_expect_success 'git-svn works in in a repository with a gitdir: link' '
+ mkdir worktree gitdir &&
+ ( cd worktree &&
+ git svn init "$svnrepo" &&
+ git init --separate-git-dir ../gitdir &&
+ git svn fetch ) &&
+ rm -rf worktree gitdir
+ '
test_done