Re: [WARNING] Proposed future changes that are backward incompatible
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 27, 2009, 19:48 UTC
- Message-ID
- <alpine.DEB.1.00.0902272046040.6600@intel-tinevez-2-302>
- In-Reply-To
- <20090227192708.6266.qmail@science.horizon.com>
Hi,
On Fri, 27 Feb 2009, George Spelvin wrote:
> There's one more change that was suggested that I'd like to propose: > - Make "git grep" search the whole repository by default; include an > explicit "." path limiter to search only the current directory.
I use "git grep" in subdirectories extensively, and I like that it does _not_ search the whole repository.
Could you suggest a nice way for me to retain that behavior with an option?
After all, since you propose a change in behavior, it is _your_ duty to provide ways for those who want the old behavior to get at it easily!
In the alternative, I could suggest "git grep -e <expression> HEAD".
Ciao, Dscho