chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make 'push --undo' safer
[stgit]
/
t
/
t1200-push-modified.sh
diff --git
a/t/t1200-push-modified.sh
b/t/t1200-push-modified.sh
index 7847a38dd186cfe69828339e24d5cf9e10c9014a..433e4526b92dd7f3bf0c3cc7ff604a076e615ce7 100755
(executable)
--- a/
t/t1200-push-modified.sh
+++ b/
t/t1200-push-modified.sh
@@
-51,7
+51,7
@@
test_expect_failure \
test_expect_success \
'Rollback the push' \
- "(cd bar && stg push --undo
+ "(cd bar && stg
status --reset && stg
push --undo
)
"