Merge branch 'jk/colors-fix'
* jk/colors-fix: t4026: test "normal" color config: fix parsing of "git config --get-color some.key -1" docs: describe ANSI 256-color mode
This commit is contained in:
@ -53,6 +53,14 @@ test_expect_success '256 colors' '
|
||||
color "254 bold 255" "[1;38;5;254;48;5;255m"
|
||||
'
|
||||
|
||||
test_expect_success '"normal" yields no color at all"' '
|
||||
color "normal black" "[40m"
|
||||
'
|
||||
|
||||
test_expect_success '-1 is a synonym for "normal"' '
|
||||
color "-1 black" "[40m"
|
||||
'
|
||||
|
||||
test_expect_success 'color too small' '
|
||||
invalid_color "-2"
|
||||
'
|
||||
|
Reference in New Issue
Block a user