]> git.ipfire.org Git - thirdparty/git.git/blobdiff - grep.h
grep: simplify config parsing and option parsing
[thirdparty/git.git] / grep.h
diff --git a/grep.h b/grep.h
index 89a2ce511309d4a2f661fabd831557953da1da5b..c722d25ed9d272fd333162a64ba367bc19ff77da 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -143,7 +143,6 @@ struct grep_opt {
        int unmatch_name_only;
        int count;
        int word_regexp;
-       int fixed;
        int all_match;
        int no_body_match;
        int body_hit;
@@ -154,7 +153,6 @@ struct grep_opt {
        int allow_textconv;
        int extended;
        int use_reflog_filter;
-       int pcre2;
        int relative;
        int pathname;
        int null_following_name;
@@ -202,7 +200,6 @@ struct grep_opt {
 
 int grep_config(const char *var, const char *value, void *);
 void grep_init(struct grep_opt *, struct repository *repo);
-void grep_commit_pattern_type(enum grep_pattern_type, struct grep_opt *opt);
 
 void append_grep_pat(struct grep_opt *opt, const char *pat, size_t patlen, const char *origin, int no, enum grep_pat_token t);
 void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t);