From: Alex Riesen Date: Mon, 13 Feb 2006 20:17:09 GMT Subject: Re: Quick question Message-ID: <20060213201709.GB5935@steel.home> In-Reply-To: <43F0CF3B.6040807@gorzow.mm.pl> Radoslaw Szkodzinski, Mon, Feb 13, 2006 19:26:03 +0100: > 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. > > 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 "*"?