~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a branch --cleanup option
[stgit]
/
t
/
t3105-undo-external-mod.sh
diff --git
a/t/t3105-undo-external-mod.sh
b/t/t3105-undo-external-mod.sh
index
f5aad64
..
1980167
100755
(executable)
--- a/
t/t3105-undo-external-mod.sh
+++ b/
t/t3105-undo-external-mod.sh
@@
-13,10
+13,10
@@
EOF
test_expect_success 'Initialize StGit stack' '
stg init &&
echo 000 >> a &&
test_expect_success 'Initialize StGit stack' '
stg init &&
echo 000 >> a &&
-
git
add a &&
+
stg
add a &&
git commit -m p0 &&
echo 111 >> a &&
git commit -m p0 &&
echo 111 >> a &&
-
git
add a &&
+
stg
add a &&
git commit -m p1 &&
stg uncommit -n 1
'
git commit -m p1 &&
stg uncommit -n 1
'
@@
-29,7
+29,7
@@
EOF
test_expect_success 'Make a git commit and turn it into a patch' '
git rev-parse HEAD > head0.txt &&
echo 222 >> a &&
test_expect_success 'Make a git commit and turn it into a patch' '
git rev-parse HEAD > head0.txt &&
echo 222 >> a &&
-
git
add a &&
+
stg
add a &&
git commit -m p2 &&
git rev-parse HEAD > head1.txt &&
stg repair &&
git commit -m p2 &&
git rev-parse HEAD > head1.txt &&
stg repair &&