From: Roman Shaposhnik Date: Tue, 22 Apr 2008 18:00:18 GMT Subject: Re: [regression?] "git status -a" reports modified for empty submodule directory Message-ID: <1208887218.25663.449.camel@work.sfbay.sun.com> In-Reply-To: <46dff0320804220539y51c02dedoe181a0eed8599902@mail.gmail.com> On Tue, 2008-04-22 at 20:39 +0800, Ping Yin wrote: > > > $ git status -a > > > # On branch master > > > # Changes to be committed: > > > # (use "git reset HEAD ..." to unstage) > > > # > > > # deleted: sub > > > # > > > > There's nothing wrong with this. > > > > -- Hannes > > It seems that in 1.5.4, both 'git status' and 'git status -a' report > "no changes added to commit". And i think this is the right behaviour. > Because when a super project is cloned, all submodule directories are > empty in the beginning. In this case 'git status' and 'git status -a' > should report " no changes added to commit". Agreed 100% Thanks, Roman.