Re: [PATCH] diff --check: use colour
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Jan 26, 2007, 12:05 UTC
- Message-ID
- <200701261205.28504.andyparkins@gmail.com>
- In-Reply-To
- <17849.17947.645022.282882@lisa.zopyra.com>
On Friday 2007 January 26 00:06, Bill Lear wrote:
> git log -S --check foo > > and the thing went off into outer space. Now at over 2 1/2 minutes of > CPU time on my 2 Ghz Opteron box...
I would guess it's because you've used "-S<space>--check"; the --check will be ignored as git-log doesn't use it, but the -S is saying "search for the empty string" in all log messages - that's probably a long list, and so takes a while to compile.
> Is it really '-S--check'?
Yep - it's "-S<string to search for>", so you'd be searching for the string "--check" in that example.
Andy
-- Dr Andy Parkins, M Eng (hons), MIEE andyparkins@gmail.com