chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for disappeared newborn files in git.tree_status (bug #8516)
[stgit]
/
t
/
t1202-push-undo.sh
diff --git
a/t/t1202-push-undo.sh
b/t/t1202-push-undo.sh
index 51ae138dea4d603e1be9dbd587da772b8aeb5054..edfa7105e2fced7b2491ebf11288e3b756c09459 100755
(executable)
--- a/
t/t1202-push-undo.sh
+++ b/
t/t1202-push-undo.sh
@@
-58,4
+58,13
@@
test_expect_success \
! stg push bar
'
+test_expect_success \
+ 'Undo with disappeared newborn' \
+ '
+ touch newfile &&
+ stg add newfile &&
+ rm newfile &&
+ stg push --undo
+ '
+
test_done