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

Re: Quick question

From
RSRadoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
Date
Feb 13, 2006, 18:26 UTC
Message-ID
<43F0CF3B.6040807@gorzow.mm.pl>
In-Reply-To
<Pine.LNX.4.64.0602130848220.3691@g5.osdl.org>
Linus Torvalds wrote:
Show 13 quoted lines
> 
> Well, since you're telling it to only show excluded files, it will also 
> only show excluded directories.
> 
> Which is admittedly insane. You don't want to exclude directories. Or 
> maybe you do, but then we should add the "/" to the end before we do the 
> exclusion.
> 
> This patch (untested) will never exclude directories. Which may or may not 
> be the right thing. 
> 
> Junio? Others? Comments?
> 

For me it seems to do the right thing, although I have no need to exclude directories. If I really needed to, I'd say something like:

/excluded_dir/*
in .git/info/exclude, and it would show the files as being excluded.
-- 
GPG Key id:  0xD1F10BA2
Fingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2

AstralStorm
Previous: Linus TorvaldsNext: Alex Riesen
Message 3 of 9 in “Quick question”
  1. Radoslaw SzkodzinskiFeb 13, 2006
  2. Linus TorvaldsFeb 13, 2006
  3. Radoslaw SzkodzinskiFeb 13, 2006
  4. Alex RiesenFeb 13, 2006
  5. Junio C HamanoFeb 14, 2006
  6. Junio C HamanoFeb 14, 2006
  7. Radoslaw SzkodzinskiFeb 14, 2006
  8. Junio C HamanoFeb 14, 2006
  9. Radoslaw SzkodzinskiFeb 14, 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.