summaryrefslogtreecommitdiff
path: root/grep.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-10-18 22:08:58 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-10-18 22:08:58 -0700
commit9100c9dce166318d6962b9e6a498bd4dcecdacf4 (patch)
tree1cb3ee55500e161be882994413d08b01a901390c /grep.h
parentMerge early part of branch 'jc/diff-apply-patch' (diff)
parentteach revision walker about --all-match. (diff)
downloadtgif-9100c9dce166318d6962b9e6a498bd4dcecdacf4.tar.xz
Merge branch 'jc/grep'
* jc/grep: teach revision walker about --all-match. grep --all-match
Diffstat (limited to 'grep.h')
-rw-r--r--grep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grep.h b/grep.h
index af9098cfe8..d252dd25f8 100644
--- a/grep.h
+++ b/grep.h
@@ -35,6 +35,7 @@ enum grep_expr_node {
struct grep_expr {
enum grep_expr_node node;
+ unsigned hit;
union {
struct grep_pat *atom;
struct grep_expr *unary;
@@ -59,6 +60,7 @@ struct grep_opt {
unsigned count:1;
unsigned word_regexp:1;
unsigned fixed:1;
+ unsigned all_match:1;
#define GREP_BINARY_DEFAULT 0
#define GREP_BINARY_NOMATCH 1
#define GREP_BINARY_TEXT 2