Re: [PATCH] grep: --full-tree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 26, 2009, 00:02 UTC
- Message-ID
- <7v8wdup2z2.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20091125222625.GB2861@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
> On Wed, Nov 25, 2009 at 02:19:35PM -0800, Junio C Hamano wrote: > >> Jeff King <peff@peff.net> writes: >> >> > ... That is, I don't want to have to remember "git grep >> > --full-tree" or "git grep /" every time >> >> But that cuts both ways. If you change the default to full-tree, >> people will forget to put "." every time when asking to limit to the >> current directory. > > I know. Which is why I am arguing for a configuration option.
Yeah; what is your take on tr/reset-checkout-patch topic, by the way? I do not particularly like a configuration that changes the behaviour of a command in a drastic way---it will make helping others much harder, but I guess it should be Ok?
This may sound like an OffTopic, but because we _are_ discussing consistency, it matters.