From: Jonathan Nieder Date: Sun, 03 Oct 2010 19:12:09 GMT Subject: Re: [BUG] git clean -X behaviour when .gitignore has sub-directory entries Message-ID: <20101003191209.GA22743@burratino> In-Reply-To: <4CA8D1B4.1020801@nuecho.com> Jean-Philippe GariƩpy wrote: > 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? Yes.