]> asedeno.scripts.mit.edu Git - git.git/blobdiff - grep.h
Merge branch 'jc/upload-pack-hook'
[git.git] / grep.h
diff --git a/grep.h b/grep.h
index 730ffd6f531d99787f33ca3fc9b1f49be090ab7f..28e6b2a8ec0af7d0e86d9b955cef075b0ecd9652 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -79,6 +79,8 @@ struct grep_opt {
        int pathname;
        int null_following_name;
        int color;
+       int max_depth;
+       int funcname;
        char color_match[COLOR_MAXLEN];
        const char *color_external;
        int regflags;
@@ -86,6 +88,7 @@ struct grep_opt {
        unsigned post_context;
        unsigned last_shown;
        int show_hunk_mark;
+       void *priv;
 };
 
 extern void append_grep_pattern(struct grep_opt *opt, const char *pat, const char *origin, int no, enum grep_pat_token t);