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 6, 2006, 22:38 UTC
Message-ID
<7vk6ddq8x2.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0601041330550.3668@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 7 quoted lines
> On Wed, 4 Jan 2006, Darrin Thompson wrote:
>> 
>> Would it be hard to make git-ls-files optionally do this?
>
> Something like the appended may or may not be what you're looking for..
>
> 		Linus

Not to mention test scripts, I suspect that making this the default would break existing callers including the famous "git-init-db && git-add ." pattern. The other commonplace use is git-status, which might benefit from this option. If we are going to use it in git-status, we may want to give them trailing slashes to make them stand out, though.

Previous: Linus TorvaldsNext: Darrin Thompson
Message 5 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.