We have quite a few repositories with submodules, and we would like to inform you which submodules are candidates for updating, because the repository to which they belong has new commits. Is there a way to do this without changing the current version?
basically there are 3 different commits that we would like to know about.
1) commit, for which the source containing the repository points to 2) commit, indicated by the local containing repository (this may differ from 1 due to manual attraction of the submodule
3) the head of the submodule storage.
If the local source is behind, we would like to update the submodule.
If moving forward locally, we don’t want to update the submodule because it is likely to be changed by the developer.
If the local value is located behind the header of the submodule repository, we would like to receive a warning.
coen source
share