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

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

From
DTDarrin Thompson <darrint@progeny.com>
Date
Jan 5, 2006, 17:15 UTC
Message-ID
<1136481352.5597.2.camel@localhost.localdomain>
In-Reply-To
<Pine.LNX.4.64.0601041330550.3668@g5.osdl.org>
On Wed, 2006-01-04 at 13:31 -0800, Linus Torvalds wrote:
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..
> 
Worked great!
Show 6 quoted lines
> @@ -19,6 +19,7 @@ static int show_stage = 0;
>  static int show_unmerged = 0;
>  static int show_modified = 0;
>  static int show_killed = 0;
> +static int show_ignored_directories = 0;
>  static int line_terminator = '\n';

Did you perhaps mean s/ignored/other/g ? I thought maybe you were being clever but I couldn't get it to do anything useful with -i, only -o.

-- Darrin

Previous: Linus TorvaldsNext: Linus Torvalds
Message 3 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.