Re: [PATCH] grep: --full-tree
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:46
Jeff King [off-list ref] writes:
On Wed, Nov 25, 2009 at 02:19:35PM -0800, Junio C Hamano wrote:quoted
Jeff King [off-list ref] writes:quoted
... That is, I don't want to have to remember "git grep --full-tree" or "git grep /" every timeBut 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.