~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Repository.rev_parse: support commits, trees, and blobs
[stgit]
/
t
/
t1002-branch-clone.sh
diff --git
a/t/t1002-branch-clone.sh
b/t/t1002-branch-clone.sh
index
19bdc45
..
4930c20
100755
(executable)
--- a/
t/t1002-branch-clone.sh
+++ b/
t/t1002-branch-clone.sh
@@
-14,7
+14,7
@@
test_expect_success \
'Create a GIT commit' \
'
echo bar > bar.txt &&
'Create a GIT commit' \
'
echo bar > bar.txt &&
-
git
add bar.txt &&
+
stg
add bar.txt &&
git commit -a -m bar
'
git commit -a -m bar
'
@@
-29,16
+29,16
@@
test_expect_success \
'
stg branch --clone foo &&
stg new p1 -m "p1" &&
'
stg branch --clone foo &&
stg new p1 -m "p1" &&
- test $(stg applied -c) -eq 1
+ test $(stg
series --
applied -c) -eq 1
'
test_expect_success \
'Clone the current StGIT branch' \
'
stg branch --clone bar &&
'
test_expect_success \
'Clone the current StGIT branch' \
'
stg branch --clone bar &&
- test $(stg applied -c) -eq 1 &&
+ test $(stg
series --
applied -c) -eq 1 &&
stg new p2 -m "p2" &&
stg new p2 -m "p2" &&
- test $(stg applied -c) -eq 2
+ test $(stg
series --
applied -c) -eq 2
'
test_done
'
test_done