webapp: Fixed a crash when adding a git remote.

Reversion introduced in 2b66492d6e which added a new cache that needs to be
cleared.
This commit is contained in:
Joey Hess 2018-10-29 16:01:08 -04:00
parent 3beab402e6
commit c472c268c4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 24 additions and 0 deletions

View file

@ -93,6 +93,7 @@ remoteListRefresh = do
newg <- inRepo Git.Config.reRead
Annex.changeState $ \s -> s
{ Annex.remotes = []
, Annex.gitremotes = Nothing
, Annex.repo = newg
}
remoteList