git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Sverre RabbelierNext: Pascal Obry
Message 4 of 9 in “Re: [WARNING] Proposed future changes that are backward incompatible”
  1. George SpelvinFeb 27, 2009
  2. Nicolas PitreFeb 27, 2009
  3. Sverre RabbelierFeb 27, 2009
  4. Johannes SchindelinFeb 27, 2009
  5. Pascal ObryFeb 27, 2009
  6. Junio C HamanoFeb 27, 2009
  7. George SpelvinFeb 27, 2009
  8. Junio C HamanoFeb 27, 2009
  9. Markus HeidelbergFeb 28, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.