Re: git grep: search whole tree by default?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 23, 2013, 18:52 UTC
- Message-ID
- <xmqqob6fq0q1.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <87hac7hmrb.fsf@mcs.anl.gov>
Jed Brown <jed@59A2.org> writes:
Show 7 quoted lines
> Junio C Hamano <gitster@pobox.com> writes: >> I suspect that it would be too late for 2.0 we want to do sometime >> early next year, though. > > How would you manage transition from the current behavior? Warning > people to explicitly use "." or ":/" during some interim period sounds > worse than just switching the default behavior.
"How would I"?
You're asking that question only because you omitted too much from the quote ;-)
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:
Show 7 quoted lines
> In summary: changing is painful. The case of "git add" was really bad, > since the same command had different behavior depending on the options > given, so it was clearly worth the pain. In the case of "git grep", the > current behavior is not _that_ bad, so nobody bothered to do the change. > > (by "do the change", I mean propose a migration plan, convince people > that it is good, ...)
I agree that it is up to those who really want to switch the default.