chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stg mail crashes when there is no patch description
[stgit]
/
t
/
t1300-uncommit.sh
diff --git
a/t/t1300-uncommit.sh
b/t/t1300-uncommit.sh
index 519234e88727f0111e5c08f7f798ca74da85e5d1..2e7ff211745d413bb2fee81080407444202fbea0 100755
(executable)
--- a/
t/t1300-uncommit.sh
+++ b/
t/t1300-uncommit.sh
@@
-70,4
+70,12
@@
test_expect_success \
[ "$(stg id foo-patch//top)" = "$(stg id bar-patch//bottom)" ] &&
stg commit
'
[ "$(stg id foo-patch//top)" = "$(stg id bar-patch//bottom)" ] &&
stg commit
'
+
+test_expect_success \
+ 'Uncommit the patches with --to' '
+ stg uncommit --to HEAD^ &&
+ [ "$(stg id foo-patch//top)" = "$(stg id bar-patch//bottom)" ] &&
+ stg commit
+'
+
test_done
test_done