X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/f979802d6f279b9d8018271f6766aa68b27b7782..de8efe1efc4a495eca0614aa9f6c1910d5838f99:/t/t1202-push-undo.sh diff --git a/t/t1202-push-undo.sh b/t/t1202-push-undo.sh index 14a3d6d..5afcf68 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 && - git add test && + stg add test && stg refresh ' @@ -30,7 +30,7 @@ test_expect_success \ ' stg new bar -m bar && echo bar > test && - git add test && + stg add test && stg refresh ' @@ -62,7 +62,7 @@ test_expect_success \ 'Undo with disappeared newborn' \ ' touch newfile && - git add newfile && + stg add newfile && rm newfile && stg undo --hard '