Re: [PATCH] diff --check: use colour
- From
Jeff King <peff@peff.net>
- Date
- Jan 26, 2007, 04:31 UTC
- Message-ID
- <20070126043120.GA6111@coredump.intra.peff.net>
- In-Reply-To
- <17849.17947.645022.282882@lisa.zopyra.com>
On Thu, Jan 25, 2007 at 06:06:51PM -0600, Bill Lear wrote:
> >The easiest way to find out what it does is to execute: > > git log -S--check diff.c > > Hmm, using 1.5.0-rc2, I created a test repo, and did this:
I think you misunderstood Johannes. The -S option is used to find revisions that include the given string in their changes. So he was suggesting running that command in the _git_ repository, to show you the commit that introduced the --check option (from which you would get some material for writing the docs...)
Show 8 quoted lines
> echo foo > foo > git add foo > git commit -a -m foo > echo bar > foo > git commit -a -m bar > git log -S--check foo > > and nothing happened.
Right. You never put the word --check into your repository content. :)
> 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...
This appears to be a bug. I will look into it.
-Peff