diff --git a/Annex.hs b/Annex.hs index ca2d83c3a3..4c2ac4323f 100644 --- a/Annex.hs +++ b/Annex.hs @@ -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