~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/vim: Add vim syntax highlighting for StGit commit messages
[stgit]
/
t
/
t2701-refresh-p.sh
diff --git
a/t/t2701-refresh-p.sh
b/t/t2701-refresh-p.sh
index
ed4bac4
..
3ba3b02
100755
(executable)
--- a/
t/t2701-refresh-p.sh
+++ b/
t/t2701-refresh-p.sh
@@
-15,7
+15,7
@@
test_expect_success 'Initialize StGit stack' '
stg init &&
for i in 1 2; do
echo x > $i.txt &&
stg init &&
for i in 1 2; do
echo x > $i.txt &&
-
git
add $i.txt &&
+
stg
add $i.txt &&
stg new p$i -m "Patch $i" &&
stg refresh
done
stg new p$i -m "Patch $i" &&
stg refresh
done
@@
-33,7
+33,7
@@
test_expect_success 'Add new file to non-top patch' '
stg status > status1.txt &&
test_cmp expected0.txt status1.txt &&
echo y > new.txt &&
stg status > status1.txt &&
test_cmp expected0.txt status1.txt &&
echo y > new.txt &&
-
git
add new.txt &&
+
stg
add new.txt &&
stg refresh -p p1 &&
stg status > status2.txt &&
test_cmp expected0.txt status2.txt &&
stg refresh -p p1 &&
stg status > status2.txt &&
test_cmp expected0.txt status2.txt &&