X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/ca66756b4a6db44d87296263c75802619496d1ce..809f4f1c1b59a01820f8d259306857cb42ef8ca8:/t/t1202-push-undo.sh diff --git a/t/t1202-push-undo.sh b/t/t1202-push-undo.sh index edfa710..b602643 100755 --- a/t/t1202-push-undo.sh +++ b/t/t1202-push-undo.sh @@ -21,7 +21,7 @@ test_expect_success \ ' stg new foo -m foo && echo foo > test && - stg add test && + git add test && stg refresh ' @@ -30,7 +30,7 @@ test_expect_success \ ' stg new bar -m bar && echo bar > test && - stg add test && + git add test && stg refresh ' @@ -62,7 +62,7 @@ test_expect_success \ 'Undo with disappeared newborn' \ ' touch newfile && - stg add newfile && + git add newfile && rm newfile && stg push --undo '