Linus Torvalds <torvalds@xxxxxxxx> writes: > The "-F" flag apparently got mis-translated due to some over-eager > copy-paste work into a duplicate "-H" when using the external grep. Thanks. I've pushed it out to "master", along with some other stuff. > Me likee the new built-in grep. The ability to say > > git grep __make_request v2.6.13 -- '*.c' > > to grep for it in a specific version is well worth the fact that it > obviously ends up being slower than grepping in the currently checked-out > tree. It's doing a hell of a lot more, but despite that it's not at all > that slow. > > (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. It _would_ be impressive to CVS folks, but even there each path would not have 20k revisions. The kernel patches tend to touch 3 paths per patch on average, so 60k changes over 18k files distributed unevenly -- my guess (I could count but haven't) is probably 200 revisions at most for most frequently touched file. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html