+4

Superproject commits: commit also submodule pointer change

Edoardo Bezzeccheri 1 year ago 0

At the moment (version 23.1 preview 10) it is possible from the Working Tree window to visualize changes from submodules (can be enabled with Ctrl+7) and to commit them in different repositories (super and submodules) at once. This correctly produces commits in multiple repositories with only one UI dialog interaction.

What I believe is missing from this feature is that the submodule pointer changes are not committed in the superproject.

What is the point in making multiple commits at once if later I need to make another commit in the superproject to update the submodule pointers?

Submodules