drop gitremotes cache when config is changed

This commit is contained in:
Joey Hess 2024-06-24 09:36:21 -04:00
parent bf6b309917
commit 6f94062c53
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -428,6 +428,7 @@ changeGitRepo r = do
{ repo = r'
, gitconfig = gitconfigadjuster $
extractGitConfig FromGitConfig r'
, gitremotes = Nothing
}
{- Gets the RemoteGitConfig from a remote, given the Git.Repo for that