xdiff: handle appended chunks better with -W
[gitweb.git] / t / t9117-git-svn-init-clone.sh
index dfed76fedc8d1600040b35297a83171ad2bde988..69a675052e2099f278c98ddf8bba12658741fba4 100755 (executable)
@@ -101,22 +101,28 @@ test_expect_success 'clone with -s/-T/-b/-t assumes --prefix=origin/' '
        rm -f warning
        '
 
-test_expect_success 'init with -s/-T/-b/-t and --prefix="" still works' '
+test_expect_success 'init with -s/-T/-b/-t and --prefix "" still works' '
        test ! -d project &&
-       git svn init -s "$svnrepo"/project project --prefix="" 2>warning &&
+       git svn init -s "$svnrepo"/project project --prefix "" 2>warning &&
        test_must_fail grep -q prefix warning &&
        test_svn_configured_prefix "" &&
        rm -rf project &&
        rm -f warning
        '
 
-test_expect_success 'clone with -s/-T/-b/-t and --prefix="" still works' '
+test_expect_success 'clone with -s/-T/-b/-t and --prefix "" still works' '
        test ! -d project &&
-       git svn clone -s "$svnrepo"/project --prefix="" 2>warning &&
+       git svn clone -s "$svnrepo"/project --prefix "" 2>warning &&
        test_must_fail grep -q prefix warning &&
        test_svn_configured_prefix "" &&
        rm -rf project &&
        rm -f warning
        '
 
+test_expect_success 'init with -T as a full url works' '
+       test ! -d project &&
+       git svn init -T "$svnrepo"/project/trunk project &&
+       rm -rf project
+       '
+
 test_done