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

Re: git-ls-files -o no recurse?

From
Junio C Hamano <junkio@cox.net>
Date
Jan 7, 2006, 18:45 UTC
Message-ID
<7vace7khbi.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1136658207.6141.4.camel@localhost.localdomain>
Darrin Thompson <darrint@progeny.com> writes:
Show 7 quoted lines
> Here's a rejiggered version of the original Linus patch. The names have
> been changed a little.
>
> Enjoy.
>
> It prevents git from recursing into "other" directories when used with
> the -o option.

Looks same to what I have in the proposed updates branch, so we are on the same page. Thanks.

I have been unsure about the name "--directory", like you said. The most accurate one I thought of so far is:

  --dont-recurse-into-directories-without-tracked-files

but it is way too long. We cannot even say "untracked directories" (we do not track directories) to shorten it a bit.

Previous: Darrin ThompsonNext: Linus Torvalds
Message 8 of 9 in “git-ls-files -o no recurse?”
  1. Darrin ThompsonJan 4, 2006
  2. Linus TorvaldsJan 4, 2006
  3. Darrin ThompsonJan 5, 2006
  4. Linus TorvaldsJan 5, 2006
  5. Junio C HamanoJan 6, 2006
  6. Darrin ThompsonJan 7, 2006
  7. Darrin ThompsonJan 7, 2006
  8. Junio C HamanoJan 7, 2006
  9. Linus TorvaldsJan 7, 2006

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.