Hello,
I have a project (PrjA) using one submodule (Sub0).
Everythng is working fine, except that whenever I checkout a branch (or a revision) in the main project (PrjA), the submodule is _not_ automatically updated. What I see in the Git Extensions main window is "Current unstaged changes" that refers to the submodule itself.
The submodule is updated only when I explicitly use the command "Repository" -> "Update all submodules".
What I was expecting is: if a switch to another branch (on PrjA), I'd like to get the version of the submodule the project was pointing at when that branch was created. In other words, I'd like to have a "consistent" snapshot of the project each time I checkout a branch:
As far as I can see, a "git submodule update" is enough to achieve this: am I right?
Next question is: is there an option in Git Extensions to enable this? (i.e. to perform a git submodule update after any checkout)?
I'm using Git Extensions 2.47.3 with git 1.8.5.2 (windows)
Thanks in advance for any reply.