diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-16 03:00:37 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-16 05:00:50 +0300 |
commit | 321ee43628c53d6050fb7fbc552332bab681f1a4 (patch) | |
tree | f800df5bca1e059cdeb6924fc1e2a071af3705c5 /grep.h | |
parent | 72365bb49923da065e7a43e61a912ef17f143c7f (diff) |
grep.h: make "grep_opt.pattern_type_option" use its enum
Change the "pattern_type_option" member of "struct grep_opt" to use
the enum type we use for it.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'grep.h')
-rw-r--r-- | grep.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -164,7 +164,7 @@ struct grep_opt { int funcname; int funcbody; int extended_regexp_option; - int pattern_type_option; + enum grep_pattern_type pattern_type_option; int ignore_locale; char colors[NR_GREP_COLORS][COLOR_MAXLEN]; unsigned pre_context; |