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