summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-06-30 03:04:05 -0700
committerJunio C Hamano <junkio@cox.net>2006-07-05 16:41:23 -0700
commit79d3696cfb438467749160481c6119e43d4d2851 (patch)
tree408970033f02859ce46f5e668fae88c0e2e6d0db /contrib
parentbc483d04804888c2da64e4c6685c2860a9041122 (diff)
downloadgit-79d3696cfb438467749160481c6119e43d4d2851.tar.gz
git-grep: boolean expression on pattern matching.
This extends the behaviour of git-grep when multiple -e options are given. So far, we allowed multiple -e to behave just like regular grep with multiple -e, i.e. the patterns are OR'ed together. With this change, you can also have multiple patterns AND'ed together, or form boolean expressions, like this (the parentheses are quoted from the shell in this example): $ git grep -e _PATTERN --and \( -e atom -e token \) Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions