From: Jeff King Date: Fri, 06 Apr 2012 21:59:56 GMT Subject: Re: Status shows untracked directory without any untracked file in it Message-ID: <20120406215956.GA31207@sigill.intra.peff.net> In-Reply-To: <4F7F3CBB.8030805@kdbg.org> On Fri, Apr 06, 2012 at 08:58:03PM +0200, Johannes Sixt wrote: > Am 06.04.2012 07:19, schrieb Alexander Kostikov: > >How that is possible? Is it a bug? > > I don't think so. git status normally does not look inside > directories that do not contain any tracked files. I think it does: $ git init tmp && cd tmp $ echo content >tracked $ git add tracked $ mkdir untracked $ git status --untracked-files=normal # On branch master # # Initial commit # # Changes to be committed: # new file: tracked # $ >untracked/file $ git status --untracked-files=normal # On branch master # # Initial commit # # Changes to be committed: # new file: tracked # # Untracked files: # untracked/ -Peff