use fromRepo

This commit is contained in:
Joey Hess 2019-11-12 10:32:14 -04:00
parent 9e8d40181f
commit 3edd427b84
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -170,5 +170,5 @@ updateTransportHandle :: TransportHandle -> IO TransportHandle
updateTransportHandle h@(TransportHandle _g annexstate) = do
g' <- liftAnnex h $ do
reloadConfig
Annex.fromRepo id
Annex.gitRepo
return (TransportHandle (LocalRepo g') annexstate)