Re: Quick question
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Feb 13, 2006, 20:17 UTC
- Message-ID
- <20060213201709.GB5935@steel.home>
- In-Reply-To
- <43F0CF3B.6040807@gorzow.mm.pl>
Radoslaw Szkodzinski, Mon, Feb 13, 2006 19:26:03 +0100:
Show 11 quoted lines
> Linus Torvalds wrote: > > > > 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.
I actually quiet like it how it is.
Show 10 quoted lines
> > 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. >
What's wrong with .gitignore in the excluded_dir containing everything you don't want to see, or even just "*"?