From: Jakub Narebski Date: Fri, 30 Jun 2006 10:24:32 GMT Subject: Re: [PATCH] git-grep: boolean expression on pattern matching. Message-ID: In-Reply-To: <7vsllnj6rh.fsf_-_@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > 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