]> git.ipfire.org Git - thirdparty/git.git/blobdiff - grep.h
built-ins: trust the "prefix" from run_builtin()
[thirdparty/git.git] / grep.h
diff --git a/grep.h b/grep.h
index 400172676a19fbc953045ccbf7ece578dd01bf31..23a2a41d2c47eb161c314bbdaf430553bd98b302 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -134,8 +134,6 @@ struct grep_opt {
         */
        struct repository *repo;
 
-       const char *prefix;
-       int prefix_length;
        int linenum;
        int columnnum;
        int invert;
@@ -182,7 +180,7 @@ struct grep_opt {
 };
 
 int grep_config(const char *var, const char *value, void *);
-void grep_init(struct grep_opt *, struct repository *repo, const char *prefix);
+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);