From: Junio C Hamano Date: Fri, 30 Jun 2006 20:26:40 GMT Subject: Re: [PATCH] git-grep: --and to combine patterns with and instead of or Message-ID: <7vmzbugzjz.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Jakub Narebski writes: > Matthias version is truly more expressive, especially with context limiting > extension. That's orthogonal. I do not think there is any reason you cannot make the version whose --near is similar to --and to understand different ranges for each "neighbor search" expression using --near=M:N syntax. Now stop talking and code it up, please ;-).