{"thread":{"id":"47152","subject":"`git commit -a` stages ignored submodules?","startedAt":"2017-11-10T10:34:33Z","lastAt":"2017-11-10T10:34:33Z","messageCount":1,"participants":["Sergey Sharybin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"332156","messageId":"CAErtv26OrSVch=X8pi1Yf3s79B8SKD6fqfxhsEyMtt8B=TaqMg@mail.gmail.com","threadId":"47152","inReplyTo":null,"subject":"`git commit -a` stages ignored submodules?","fromName":"Sergey Sharybin","fromEmail":"sergey.vfx@gmail.com","sentAt":"2017-11-10T10:34:26Z","receivedAt":"2017-11-10T10:34:33Z","isPatch":false,"sender":{"key":"sergey.vfx@gmail.com","avatar":"https://gravatar.com/avatar/26027c72ccaf17049ce0f691381f780c049736d0ed89bd45bd812dec74b78bb8?d=mp&s=160"},"body":"Hello everyone,\n\nThere seems to be a difference how Git 2.15.0 handles submodules in\ncomparison with 2.14.2.\n\nIn Git 2.14.2 `git commit -a` will not stage submodules which has\n`ignore = all` set in their .gitmodule section. However, in Git 2.15.0\n`git commit -a` will stage all submodules no matter what their\n\"ignore\" setting is set to, and also no matter if submodule path is in\n.gitignore.\n\nDidn't see anything explicit about this in release logs. Is it an\nexpected new behavior?It is till possible to keep `git commit -a` to\nignore submodules which are configured to be ignored?\n\n-- \nWith best regards, Sergey Sharybin\n"}]}