Detect when an existing submodule was moved to another location in the repo tree

syntevo 1 month ago 0

I have a repo which contains many submodules. If I do some re-organization, e.g. I move a part of the tree to a new location, the submodules contained therein break (i.e. are stated as "missing" for the old location and as "nested root" for the new location). Since this is something I do frequently, its tedious to edit the submodules file by hand to get rid of that.

It would be great if smartgit detects these kind of changes and proposes to update the submodule location entry (moving submodules would then be similar to renames of regular files)