- 'Check no part of the branch was created' \
- 'test "`find .git -name foo | tee /dev/stderr`" = ".git/patches/foo" &&
- ( 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