Re: [PATCH] grep: --full-tree
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Nov 25, 2009, 14:56 UTC
- Message-ID
- <fabb9a1e0911250656k31229c42jd79fb94c1a619e59@mail.gmail.com>
- In-Reply-To
- <7vk4xggv27.fsf@alter.siamese.dyndns.org>
Heya,
On Tue, Nov 24, 2009 at 09:56, Junio C Hamano <gitster@pobox.com> wrote:
> I am not sure if there can be a sane way to flip the default without > hurting existing scripts and users. Backward compatibility always is > a pain.
I regularly rely on this behavior in my usage of git grep. For example, the Melange project has this layout: -- app -- app/soc -- app/django -- app/... etc -- scripts -- tests -- thirdparty
I almost always want only results from "app/soc", so when I run git grep I do so from within "app/soc" to make sure I don't get false positives from the many external sources we have.
Just chiming in for the "want to keep the current behavior" camp :).
PS: I don't mind having to set a config variable to keep the current behavior though.
-- Cheers, Sverre Rabbelier