Re: git-grep: option parsing conflicts with prefix-dash searches
- From
Miles Bader <miles@gnu.org>
- Date
- Feb 6, 2010, 08:17 UTC
- Message-ID
- <87mxzmsrqc.fsf@catnip.gol.com>
- In-Reply-To
- <7v7hqrdkxb.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> I have known GNU extended grep implementations long enough but never saw > that "--" used to quote a pattern. Is it worth supporting to begin with?
Well, it is a natural consequence of the way command-line parsing works in typical GNU progs; "--" doesn't mean "files follow", it means "no more options"....
-Miles
-- I'd rather be consing.