`git commit -a` stages ignored submodules?
- Date: Fri, 10 Nov 2017 11:34:26 +0100
- From: Sergey Sharybin <sergey.vfx@xxxxxxxxx>
- Subject: `git commit -a` stages ignored submodules?
There seems to be a difference how Git 2.15.0 handles submodules in
comparison with 2.14.2.
In Git 2.14.2 `git commit -a` will not stage submodules which has
`ignore = all` set in their .gitmodule section. However, in Git 2.15.0
`git commit -a` will stage all submodules no matter what their
"ignore" setting is set to, and also no matter if submodule path is in
Didn't see anything explicit about this in release logs. Is it an
expected new behavior?It is till possible to keep `git commit -a` to
ignore submodules which are configured to be ignored?
With best regards, Sergey Sharybin