I have Visual Studio project with two solutions. One is my current project, the other one is a submodule. Entire project is in git. I have used gitignore generated by Visual Studio for the project.
Part of the submodule is also Visual Studio solution and project settings for the submodule project. I have added this submodule to my solution but I needed to change include directories and active build fot he submodule.
If I want to commit my project, git is complaining about submodule being "dirty" and I can commit submodule or ignore it. I want to commit submodule only if source codes have changed. Is there any way how to stop git complaining about "dirty" submodule, or I have to do "ignore" every time I commit?