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

Re: [RFC/PATCHv2 1/5] worktree: provide better prefix to go back to original cwd

From
Chris Packham <judge.packham@gmail.com>
Date
Oct 18, 2010, 02:05 UTC
Message-ID
<4CBBAB71.4010503@gmail.com>
In-Reply-To
<20101017094524.GA6034@do>
On 17/10/10 03:01, Nguyen Thai Ngoc Duy wrote:
Show 11 quoted lines
> While at it, have you thought of support --recursive and
> --full-tree [1]? There are issues with --full-tree and prefixes [2],
> which is why it is dropped but I think it's a good idea.
> 
> --full-tree disregards where you stand and greps in whole repo. In a
> repo with submodules, that would mean grep the supermodule and all
> submodules regardless where you stand, even if you stand in a
> submodule.
> 
> [1] http://mid.gmane.org/7vk4xggv27.fsf@alter.siamese.dyndns.org
> [2] http://mid.gmane.org/7vskaqptvj.fsf@alter.siamese.dyndns.org

I haven't looked at those threads yet but it sounds useful to me. I don't want this series to grow too far in scope so maybe this could be a follow-up if my series is accepted.

Previous: Nguyen Thai Ngoc DuyNext: Chris Packham
Message 6 of 15 in “[RGC/PATCHv2] grep: submodule support”
  1. Chris PackhamOct 15, 2010
  2. 1/5 worktree: provide better prefix to go back to original cwdChris Packham, Oct 15, 2010
  3. Jonathan NiederOct 16, 2010
  4. Chris PackhamOct 17, 2010
  5. Nguyen Thai Ngoc DuyOct 17, 2010
  6. Chris PackhamOct 18, 2010
  7. 2/5 grep: output the path from cwd to worktreeChris Packham, Oct 15, 2010
  8. 3/5 grep_cache: check pathspec firstChris Packham, Oct 15, 2010
  9. 4/5 add test for git grep --recursiveChris Packham, Oct 15, 2010
  10. 5/5 grep: add support for grepping in submodulesChris Packham, Oct 15, 2010
  11. Nguyen Thai Ngoc DuyOct 17, 2010
  12. Chris PackhamOct 18, 2010
  13. Nguyen Thai Ngoc DuyOct 18, 2010
  14. Jens LehmannOct 16, 2010
  15. Chris PackhamOct 17, 2010

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.