From: Junio C Hamano Date: Sat, 16 Jan 2010 04:15:49 GMT Subject: Re: [PATCH] grep --no-index: allow use of "git grep" outside a git repository Message-ID: <7vpr5ait1m.fsf@alter.siamese.dyndns.org> In-Reply-To: <20100116011512.GA27082@coredump.intra.peff.net> Jeff King writes: >> git grep --all-match -e Junio -e Dscho > > That one is a little harder (though it is not something I do very often, > and I had to actually read the docs to find what --all-match does): > > grep Junio `grep -l Dscho *` > > which of course has problems with exotic filenames. Also it doesn't find lines that match Dscho in the result ;-) Realistically, this most often is used when grepping in the log, e.g. git log --all-match --author=peff --grep=test I actually wish "log" to somehow default to --all-match mode at least when using the --author option. "Change by Jeff, or about test by anybody" is rarely what I would want to look for.