From: Gustaf Hendeby Date: Tue, 19 Jan 2010 08:23:38 GMT Subject: Re: Unmodified submodules shows up as dirty with 1.6.6.443.gd7346 Message-ID: <4B556C0A.9020204@isy.liu.se> In-Reply-To: <4B555BA1.90605@viscovery.net> Johannes Sixt wrote: > Jacob Helwig schrieb: >> If there is no output from git status in the submodule, then git >> status in the superproject shows the submodule as being clean. >> However, if there is _any_ output from git status (untracked files, >> modified files, deleted files, new files), then the superproject shows >> the submodule as being dirty. > > But isn't it a bug that a submodule is considered dirty just because an > untracked file appears? I prefer the old behavior, and find the new one a bit unintuitive and I suspect it will hit more people than just me once the change ends up on master. Unfortunately, the response yesterday pointed in the direction of this being a wanted feature. I think the change of behavior should at least be mentioned in the release note. /Gustaf