check if submodule will be commited