rbm does not correctly apply git submodule URL changes
rbm has an option to include git submodules when creating source tarballs for a build.
rbm is initializing and updating the submodules with git submodule update --init
. However looking at the git-submodule manpage, it seems that the --init
submodule option will only initialize submodules which have not been initialized yet. If a commit is changing a submodule URL, then this change will not be taken into account if the submodule has been initialized before.
To fix this, rbm should also run git submodule sync
.