chiark / gitweb /
Add '--' to git-diff-index calls
[stgit] / t / t1201-pull-trailing.sh
index 142f894c4d1ca805d17f40fa867de921eeb741eb..42c6619112566d9e17706d2e3fa40753aab5aeb0 100755 (executable)
@@ -34,9 +34,21 @@ test_expect_success \
      )
 "
 
+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
+     )
+"
+
 test_expect_success \
     'Pull those patches applied upstream' \
-    "(cd bar && stg pull
+    "(cd bar && stg push --undo && stg push --all --merged
      )
 "