chiark / gitweb /
Don't use refs/bases/<branchname>
[stgit] / t / t1000-branch-create.sh
index f0c23678e8b741a714bdc03549adc5c8b928f906..58209e73f7ad172ee4f4f3dab045efd15b611952 100755 (executable)
@@ -38,20 +38,6 @@ test_expect_success \
      ( grep foo .git/HEAD; test $? = 1 )
 '
 
-test_expect_failure \
-    'Try to create an stgit branch with a spurious refs/bases/ entry' \
-    'find .git -name foo | xargs rm -rf &&
-     touch .git/refs/bases/foo &&
-     stg branch -c foo
-'
-
-test_expect_success \
-    'Check no part of the branch was created' \
-    'test "`find .git -name foo | tee /dev/stderr`" = ".git/refs/bases/foo" &&
-     ( grep foo .git/HEAD; test $? = 1 )
-'
-
-
 test_expect_failure \
     'Try to create an stgit branch with an existing git branch by that name' \
     'find .git -name foo | xargs rm -rf &&