+ '(cd foo &&
+ GIT_DIR=../bar/.git git format-patch --stdout \
+ $(cd ../bar && stg id master:{base})..HEAD |
+ git am -3 -k
+ )
+ '
+
+test_expect_success \
+ 'Pull those patches applied upstream, without pushing' \
+ "(cd bar && stg pull --nopush
+ )
+"
+
+test_expect_success \
+ 'Try to push those patches without merge detection' \
+ "(cd bar && stg push --all