Smudge the files fed to external diff and textconv
[gitweb.git] / t / t9100-git-svn-basic.sh
index 9b238c329b87d98dca4d0e66839df97c5c3a0673..bb921af56af2c9a559c843dd4c3b69993c34206c 100755 (executable)
@@ -265,4 +265,13 @@ test_expect_success 'able to set-tree to a subdirectory' "
        test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\"
        "
 
+test_expect_success 'git-svn works in a bare repository' '
+       mkdir bare-repo &&
+       ( cd bare-repo &&
+       git init --bare &&
+       GIT_DIR=. git svn init "$svnrepo" &&
+       git svn fetch ) &&
+       rm -rf bare-repo
+       '
+
 test_done