From: Ævar Arnfjörð Bjarmason Date: Wed, 16 Feb 2022 00:00:37 +0000 (+0100) Subject: grep.h: make "grep_opt.pattern_type_option" use its enum X-Git-Tag: v2.36.0-rc0~110^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=321ee43628c53d6050fb7fbc552332bab681f1a4;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/grep.h b/grep.h index 3112d1c2a3..89a2ce5113 100644 --- a/grep.h +++ b/grep.h @@ -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;