grep.c: teach 'git grep --only-matching'
[gitweb.git] / grep.h
diff --git a/grep.h b/grep.h
index 08a0b391c5bdf7a22055486d3b4fc76d41fd8e43..4d474d8ec439fa0256c548055b17cf1ce64505da 100644 (file)
--- a/grep.h
+++ b/grep.h
@@ -150,6 +150,7 @@ struct grep_opt {
        int relative;
        int pathname;
        int null_following_name;
+       int only_matching;
        int color;
        int max_depth;
        int funcname;