chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test that all branch config information is renamed
[stgit]
/
t
/
t1001-branch-rename.sh
diff --git
a/t/t1001-branch-rename.sh
b/t/t1001-branch-rename.sh
index 28da15ceffe932efe3c87c2aae5c27adc41f5834..28af8ae738da1ce848034a778552f8dfdd861a38 100755
(executable)
--- a/
t/t1001-branch-rename.sh
+++ b/
t/t1001-branch-rename.sh
@@
-26,7
+26,8
@@
test_expect_success \
'Rename an stgit branch' \
'stg branch -c buz &&
stg branch -r foo bar &&
- test -z `find .git -name foo | tee /dev/stderr`
+ test -z `find .git -name foo | tee /dev/stderr` &&
+ test -z $(git config -l | grep branch\\.foo)
'
test_done