]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t9100-git-svn-basic.sh
Merge branch 'jl/maint-fix-test'
[git.git] / t / t9100-git-svn-basic.sh
index 75388f3f07de4ddb0fd4d72794a8cbf97f925ab7..34eb01797b3a289ded1dc92799616615f0c14784 100755 (executable)
@@ -271,6 +271,17 @@ test_expect_success 'able to dcommit to a subdirectory' "
        test -z \"\`git diff refs/heads/my-bar refs/remotes/bar\`\"
        "
 
+test_expect_success 'dcommit should not fail with a touched file' '
+       test_commit "commit-new-file-foo2" foo2 &&
+       test-chmtime =-60 foo &&
+       git svn dcommit
+'
+
+test_expect_success 'rebase should not fail with a touched file' '
+       test-chmtime =-60 foo &&
+       git svn rebase
+'
+
 test_expect_success 'able to set-tree to a subdirectory' "
        echo cba > d &&
        git update-index d &&