3 test_description
='test show-branch with more than 8 heads'
7 numbers
="1 2 3 4 5 6 7 8 9 10"
9 test_expect_success
'setup' '
14 git commit -m initial &&
18 git checkout -b branch$i master &&
22 git commit -m branch$i || return 1
49 +++++++++* [branch10^] initial
52 test_expect_success
'show-branch with more than 8 branches' '
54 git show-branch $(for i in $numbers; do echo branch$i; done) > out &&
59 test_expect_success
'show-branch with showbranch.default' '
61 git config --add showbranch.default branch$i
63 git show-branch >out &&