diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-03-20 19:29:36 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-20 19:29:36 +0100 |
commit | f1aa782a3b72a2c4de46dc93b484eb99dc01d4d0 (patch) | |
tree | 7f668cd8acbb2b897c71125d55ac64cac5a7b529 /grep.h | |
parent | Merge branch 'jc/color-attrs' (diff) | |
parent | grep: Colorize selected, context, and function lines (diff) | |
download | git-f1aa782a3b72a2c4de46dc93b484eb99dc01d4d0.tar.xz git-f1aa782a3b72a2c4de46dc93b484eb99dc01d4d0.zip |
Merge branch 'ml/color-grep'
* ml/color-grep:
grep: Colorize selected, context, and function lines
grep: Colorize filename, line number, and separator
Add GIT_COLOR_BOLD_* and GIT_COLOR_BG_*
Diffstat (limited to 'grep.h')
-rw-r--r-- | grep.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -86,7 +86,13 @@ struct grep_opt { int color; int max_depth; int funcname; + char color_context[COLOR_MAXLEN]; + char color_filename[COLOR_MAXLEN]; + char color_function[COLOR_MAXLEN]; + char color_lineno[COLOR_MAXLEN]; char color_match[COLOR_MAXLEN]; + char color_selected[COLOR_MAXLEN]; + char color_sep[COLOR_MAXLEN]; int regflags; unsigned pre_context; unsigned post_context; |