Re: Possible bug with git status in 1.7.0
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 17, 2010, 19:21 UTC
- Message-ID
- <7vvddvoegv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <loom.20100217T184109-183@post.gmane.org>
Sergio <sergio.callegari@gmail.com> writes:
Show 6 quoted lines
> if you have a submodule and the submodule contains > untracked files, "git status" in 1.7.0 keeps showing > the module as modified. > > But of of course it is useless to "git add" the module > or to try to "git commit -a", since the index entry is ok
Of course it is useless to "git add" in the superproject, and this is an intended bugfix.
You are getting reminded that you either forgot to "git add" that file in the submodule, or you forgot to add that file to .gitignore in the submodule.