Thread (10 messages) flat view 10 messages, 4 authors, 2016-06-15

Re: [PATCH] git-grep: allow patterns starting with -

From: Timo Hirvonen <hidden>
Date: 2016-06-15 22:42:31

Matthias Lederhofer [off-list ref] wrote:
Signed-off-by: Matthias Lederhofer <redacted>
---
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help