diff options
author | Junio C Hamano <junkio@cox.net> | 2006-10-18 22:08:58 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-10-18 22:08:58 -0700 |
commit | 9100c9dce166318d6962b9e6a498bd4dcecdacf4 (patch) | |
tree | 1cb3ee55500e161be882994413d08b01a901390c /grep.h | |
parent | Merge early part of branch 'jc/diff-apply-patch' (diff) | |
parent | teach revision walker about --all-match. (diff) | |
download | tgif-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |