From: Junio C Hamano Date: Fri, 30 Jun 2006 17:58:00 GMT Subject: Re: [PATCH] git-grep: --and to combine patterns with and instead of or Message-ID: <7vfyhmil07.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Matthias Lederhofer writes: > -e foo --or --near \( -e A -- or -e B \) > would mean lines containing foo or having A or B in the context. How would that "--near" be useful? You will see A or B either way.