From: Jean-Philippe GariƩpy Date: Sun, 03 Oct 2010 18:55:48 GMT Subject: Re: [BUG] git clean -X behaviour when .gitignore has sub-directory entries Message-ID: <4CA8D1B4.1020801@nuecho.com> In-Reply-To: <20100927203652.GB11957@burratino> On 09/27/2010 04:36 PM, Jonathan Nieder wrote: > ... > 1) a/b/f is not actually considered excluded; only its containing > directory is. > > 2) git clean does not even examine a/b to consider whether to remove > it: since a/ does not contain any tracked files, it stopped there. Ok, thanks for your analysis. Do you consider it a bug? -- Jean-Philippe