check_submodules
Small quickly developed (means not elegant and likely full of bugs) command line utility to verify submodule references in a git repository.
What problem is it trying to solve?
Some repositories (such as https://github.com/azure/azure-iot-sdk-c) reference the same submodule at multiple places in their source tree.
Sometimes it's even more complicated, for example:
a (main repository)
-> submodule b
-> submodule c
-> submodule b (ie. submodule c also references b as a submodule)
In those cases it might be useful to verify that when a submodule is reused in multiple places in the source tree, all the references to that submodule point to the same commit hash.
This is what that utility does.