diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-16 01:00:37 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-16 03:00:50 +0100 |
commit | 321ee43628c53d6050fb7fbc552332bab681f1a4 (patch) | |
tree | f800df5bca1e059cdeb6924fc1e2a071af3705c5 | |
parent | grep API: call grep_config() after grep_init() (diff) | |
download | git-321ee43628c53d6050fb7fbc552332bab681f1a4.tar.xz git-321ee43628c53d6050fb7fbc552332bab681f1a4.zip |
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>
-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; |