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:
@ -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
|
||||
|
Reference in New Issue
Block a user