In the future avoid committing changes to the submodules as this can cause problems. Biggest problem if the submodule commit points to a local commit, slightly more of an annoyance if the commit points to an older version.