~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stgit.el: Honor stgit-find-copies-harder in stgit-diff-range
[stgit]
/
t
/
t0002-status.sh
diff --git
a/t/t0002-status.sh
b/t/t0002-status.sh
index
ffcad77
..
c978845
100755
(executable)
--- a/
t/t0002-status.sh
+++ b/
t/t0002-status.sh
@@
-54,7
+54,7
@@
cat > expected.txt <<EOF
A foo/bar
EOF
test_expect_success 'Status with an added file' '
A foo/bar
EOF
test_expect_success 'Status with an added file' '
-
git
add foo &&
+
stg
add foo &&
stg status > output.txt &&
test_cmp expected.txt output.txt
'
stg status > output.txt &&
test_cmp expected.txt output.txt
'
@@
-95,7
+95,7
@@
test_expect_success 'Status after refresh' '
test_expect_success 'Add another file' '
echo lajbans > fie &&
test_expect_success 'Add another file' '
echo lajbans > fie &&
-
git
add fie &&
+
stg
add fie &&
stg refresh
'
stg refresh
'
@@
-145,7
+145,7
@@
A fie
M foo/bar
EOF
test_expect_success 'Status after resolving the push' '
M foo/bar
EOF
test_expect_success 'Status after resolving the push' '
- stg
resolved -a
&&
+ stg
add --update
&&
stg status > output.txt &&
test_cmp expected.txt output.txt
'
stg status > output.txt &&
test_cmp expected.txt output.txt
'
@@
-166,7
+166,7
@@
EOF
test_expect_success 'Status of disappeared newborn' '
stg refresh &&
touch foo/bar &&
test_expect_success 'Status of disappeared newborn' '
stg refresh &&
touch foo/bar &&
-
git
add foo/bar &&
+
stg
add foo/bar &&
rm foo/bar &&
stg status > output.txt &&
test_cmp expected.txt output.txt
rm foo/bar &&
stg status > output.txt &&
test_cmp expected.txt output.txt
@@
-177,8
+177,8
@@
A fay
D fie
EOF
test_expect_success 'Status after renaming a file' '
D fie
EOF
test_expect_success 'Status after renaming a file' '
-
git
rm foo/bar &&
-
git
mv fie fay &&
+
stg
rm foo/bar &&
+
stg
mv fie fay &&
stg status > output.txt &&
test_cmp expected.txt output.txt
'
stg status > output.txt &&
test_cmp expected.txt output.txt
'