Added ignore dirty flag to submodules