Re: [PATCH] git-grep: --and to combine patterns with and instead of or
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jun 30, 2006, 17:58 UTC
- Message-ID
- <7vfyhmil07.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <E1FwN7M-0007GI-Ng@moooo.ath.cx>
Matthias Lederhofer <matled@gmx.net> 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.