Clear the submodule cache populated by git_repository_submodule_cache_all.
If there is no cache, do nothing.
The cache incorporates data from the repository's configuration, as well
as the state of the working tree, the index, and HEAD. So any time any
of these has changed, the cache might become invalid.
@param repo the repository whose submodule cache will be cleared
Clear the submodule cache.
Clear the submodule cache populated by git_repository_submodule_cache_all. If there is no cache, do nothing.
The cache incorporates data from the repository's configuration, as well as the state of the working tree, the index, and HEAD. So any time any of these has changed, the cache might become invalid.
@param repo the repository whose submodule cache will be cleared