Re: git grep '(' = segfault
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Apr 27, 2009, 18:42 UTC
- Message-ID
- <40aa078e0904271142u71d7ba97w9df80667c0d9b955@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0904271059060.22156@localhost.localdomain>
On Mon, Apr 27, 2009 at 8:10 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> Something like this should fix it. > > Linus
(Sorry that you're getting this mail twice, Linus - I forgot to reply all)
This does indeed fix the crash, but I find the resulting operation quite bizarre. I'm getting a "fatal: unmatched paranthesis", however "git grep '(('" is happy to simply grep for the double parenthesis. Now, if I had done "git grep '\('", I'd expect an unmatched parenthesis-error... Am I misunderstanding something here?
$ git grep '(' fatal: unmatched parenthesis
$ git grep '((' Documentation/CodingGuidelines: - We use Arithmetic Expansion $(( ... )). [...]
$ git grep '\(' fatal: command line, '\(': Unmatched ( or \(
-- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656