[ "$(echo $(stg unapplied))" = "" ]
'
-test_expect_success 'Pop two patches with git-reset' '
+test_expect_success 'Pop two patches with git reset' '
git reset --hard HEAD~2 &&
! stg refresh &&
stg repair &&
[ "$(echo $(stg unapplied))" = "p3 p4" ]
'
-test_expect_success 'Go to an unapplied patch with with git-reset' '
+test_expect_success 'Go to an unapplied patch with with git reset' '
git reset --hard $(stg id p3) &&
! stg refresh &&
stg repair &&
[ "$(echo $(stg unapplied))" = "q0 p4" ]
'
-test_expect_success 'Go back to below the stack base with git-reset' '
+test_expect_success 'Go back to below the stack base with git reset' '
git reset --hard foo-tag &&
stg repair &&
[ "$(echo $(stg applied))" = "" ] &&