'
stg new foo -m "Foo Patch" &&
echo foo > test && echo foo2 >> test &&
- stg add test &&
+ git add test &&
stg refresh --annotate="foo notes"
'
test_expect_success \
'Check the "new" and "refresh" logs' \
'
- stg log --full foo | grep -q -e "^new" &&
stg log --full foo | grep -q -e "^refresh" &&
- stg log --full | grep -q -e "^new" &&
stg log --full | grep -q -e "^refresh"
'
'Check the "push" log' \
'
stg pop &&
- echo foo > test2 && stg add test2 && stg refresh &&
+ echo foo > test2 && git add test2 && stg refresh &&
stg push &&
stg log --full | grep -q -e "^push "
'