Re: Fix silly typo in new builtin grep
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 16, 2006, 03:32 UTC
- Message-ID
- <Pine.LNX.4.64.0605152028050.3866@g5.osdl.org>
- In-Reply-To
- <7vu07qfyj0.fsf@assigned-by-dhcp.cox.net>
On Mon, 15 May 2006, Junio C Hamano wrote:
Show 8 quoted lines
> > > > (In fact, I would say that doing the above command in just 4 seconds is > > damn impressive - it's a large code-base, and v2.6.13 is several months, > > and over 20 _thousand_ revisions ago). > > That is a BS praise and you know it ;-). You do not have delta > chains that are 20k long, so grepping from the tree 10 revs ago > and from the tree 20k revs ago would not make a difference.
Oh, I agree. I meant in a "general version-control sense". I doubt a lot of other version-control systems could do it. Git can, exactly because it's whole-file based, and our deltas are limited.
So it's not that "builtin-grep" is wonderful. It's that _git_ is wonderful, and the builtin-grep just shows one of the end results.
That's why we have killer features. To show off.
(That said, git will slow down a tad too - the pack-file access won't be as optimized for an old version tree, and so you'll seek around some more for the cold-cache case).
Linus