From: Matthias Lederhofer Date: Sun, 25 Jun 2006 16:18:52 GMT Subject: Re: [PATCH] git-grep: allow patterns starting with - Message-ID: In-Reply-To: <20060625184757.f8273820.tihirvon@gmail.com> > Matthias Lederhofer wrote: > > > Signed-off-by: Matthias Lederhofer > > --- > > I did not find another way to use patterns starting with -, if it is > > possible without the patch please tell me and ignore the patch :) > > example: > > % git grep -- --bla HEAD HEAD~1 -- --foo > > HEAD:--foo/bla:test --bla foo > > git grep -e --bla Perhaps the original patch may be applied anyways for consistency with the GNU grep? :) But it's really not important to me and well, having -- twice in the command line is a bit strange too.