Merge branch 'lh/use-gnu-color-in-grep'
The color palette used by "git grep" has been updated to match that of GNU grep. * lh/use-gnu-color-in-grep: grep: align default colors with GNU grep onesmaint
commit
c0450ca098
6
grep.c
6
grep.c
|
@ -26,10 +26,10 @@ static struct grep_opt grep_defaults = {
|
|||
.pattern_type_option = GREP_PATTERN_TYPE_UNSPECIFIED,
|
||||
.colors = {
|
||||
[GREP_COLOR_CONTEXT] = "",
|
||||
[GREP_COLOR_FILENAME] = "",
|
||||
[GREP_COLOR_FILENAME] = GIT_COLOR_MAGENTA,
|
||||
[GREP_COLOR_FUNCTION] = "",
|
||||
[GREP_COLOR_LINENO] = "",
|
||||
[GREP_COLOR_COLUMNNO] = "",
|
||||
[GREP_COLOR_LINENO] = GIT_COLOR_GREEN,
|
||||
[GREP_COLOR_COLUMNNO] = GIT_COLOR_GREEN,
|
||||
[GREP_COLOR_MATCH_CONTEXT] = GIT_COLOR_BOLD_RED,
|
||||
[GREP_COLOR_MATCH_SELECTED] = GIT_COLOR_BOLD_RED,
|
||||
[GREP_COLOR_SELECTED] = "",
|
||||
|
|
Loading…
Reference in New Issue