X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/ee11a2896d0815d1530c5dc2a7e4719409b7833f..c7506039d0299c093140857b7a617ec6bcdbfc13:/t/t2300-refresh-subdir.sh?ds=sidebyside diff --git a/t/t2300-refresh-subdir.sh b/t/t2300-refresh-subdir.sh index 89c95db..34d6e69 100755 --- a/t/t2300-refresh-subdir.sh +++ b/t/t2300-refresh-subdir.sh @@ -8,7 +8,7 @@ test_expect_success 'Refresh from a subdirectory' ' echo foo >> foo.txt && mkdir bar && echo bar >> bar/bar.txt && - git add foo.txt bar/bar.txt && + stg add foo.txt bar/bar.txt && cd bar && stg refresh && cd .. && @@ -48,7 +48,7 @@ test_expect_success 'Refresh subdirectories recursively' ' test_expect_success 'refresh -u' ' echo baz >> bar/baz.txt && stg new p1 -m p1 && - git add bar/baz.txt && + stg add bar/baz.txt && stg refresh --index && echo xyzzy >> foo.txt && echo xyzzy >> bar/bar.txt &&