Re: [PATCH] git-grep: allow patterns starting with -
- From
- Timo Hirvonen <tihirvon@gmail.com>
- Date
- Jun 25, 2006, 15:47 UTC
- Message-ID
- <20060625184757.f8273820.tihirvon@gmail.com>
- In-Reply-To
- <E1FuWh7-0008Ry-HX@moooo.ath.cx>
Matthias Lederhofer <matled@gmx.net> wrote:
Show 7 quoted lines
> Signed-off-by: Matthias Lederhofer <matled@gmx.net> > --- > 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
It's not very well documented.
-- http://onion.dynserv.net/~timo/