chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that we only uncommit commits with exactly one parent
[stgit]
/
t
/
t1300-uncommit.sh
diff --git
a/t/t1300-uncommit.sh
b/t/t1300-uncommit.sh
index 0d952a77178694c66fef3502173168d74480fe72..a906d135d9c1ee077c1f7042390b3297044e4196 100755
(executable)
--- a/
t/t1300-uncommit.sh
+++ b/
t/t1300-uncommit.sh
@@
-78,7
+78,7
@@
test_expect_success \
stg commit --all
'
-test_expect_
failure
'Uncommit a commit with not precisely one parent' '
+test_expect_
success
'Uncommit a commit with not precisely one parent' '
stg uncommit -n 5 ; [ $? = 2 ] &&
[ "$(echo $(stg series))" = "" ]
'