Re: [PATCH] git-grep: boolean expression on pattern matching.
Show 10 quoted lines
> 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 \)
And where is documentation update?
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git