X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/3b3c26fa79d6632363c141b68df4b024f367ad0b..2c1e19f5491eecc562f8a8c237847936b86e4db8:/t/t2100-pull-policy-fetch.sh diff --git a/t/t2100-pull-policy-fetch.sh b/t/t2100-pull-policy-fetch.sh index e1398a3..670c7c6 100755 --- a/t/t2100-pull-policy-fetch.sh +++ b/t/t2100-pull-policy-fetch.sh @@ -19,10 +19,10 @@ test_expect_success \ (cd upstream && stg init) && stg clone upstream clone && (cd clone && - git repo-config branch.master.stgit.pull-policy fetch-rebase && - git repo-config --list && + git config branch.master.stgit.pull-policy fetch-rebase && + git config --list && stg new c1 -m c1 && - echo a > file && stg add file && stg refresh + echo a > file && git add file && stg refresh ) ' @@ -30,7 +30,7 @@ test_expect_success \ 'Add non-rewinding commit upstream and pull it from clone' \ ' (cd upstream && stg new u1 -m u1 && - echo a > file2 && stg add file2 && stg refresh) && + echo a > file2 && git add file2 && stg refresh) && (cd clone && stg pull) && test -e clone/file2 ' @@ -55,18 +55,4 @@ test_expect_success \ test `wc -l file3 && stg add file3 && stg refresh) && - (cd clone && stg commit && stg new c2 -m c2 && - echo a >> file && stg refresh) - ' -test_expect_failure \ - 'Try to and commit a patch in clone' \ - '(cd clone && stg pull)' - test_done