Merge branch 'jc/maint-1.6.4-show-branch-default' into maint

* jc/maint-1.6.4-show-branch-default:
  show-branch: fix segfault when showbranch.default exists
This commit is contained in:
Junio C Hamano
2009-10-04 14:48:44 -07:00
2 changed files with 19 additions and 3 deletions

View File

@ -56,4 +56,12 @@ test_expect_success 'show-branch with more than 8 branches' '
'
test_expect_success 'show-branch with showbranch.default' '
for i in $numbers; do
git config --add showbranch.default branch$i
done &&
git show-branch >out &&
test_cmp expect out
'
test_done