Make 'push --undo' safer
[stgit] / t / t1202-push-undo.sh
index 335b554..45dabb4 100755 (executable)
@@ -49,6 +49,7 @@ test_expect_failure \
 test_expect_success \
        'Undo the previous push' \
        '
+       stg status --reset &&
        stg push --undo
        '