diff options
author | Junio C Hamano <junkio@cox.net> | 2006-06-30 03:04:05 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-05 16:41:23 -0700 |
commit | 79d3696cfb438467749160481c6119e43d4d2851 (patch) | |
tree | 408970033f02859ce46f5e668fae88c0e2e6d0db /Documentation/git-blame.txt | |
parent | Merge branch 'lt/gitweb' (diff) | |
download | tgif-79d3696cfb438467749160481c6119e43d4d2851.tar.xz |
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 'Documentation/git-blame.txt')
0 files changed, 0 insertions, 0 deletions