diff options
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/BitTorrent.hs | 2 | ||||
-rw-r--r-- | Remote/Helper/Special.hs | 2 | ||||
-rw-r--r-- | Remote/Web.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Remote/BitTorrent.hs b/Remote/BitTorrent.hs index 0ecf3ef25..fe49d023a 100644 --- a/Remote/BitTorrent.hs +++ b/Remote/BitTorrent.hs @@ -44,7 +44,7 @@ remote = RemoteType { -- There is only one bittorrent remote, and it always exists. list :: Annex [Git.Repo] list = do - r <- liftIO $ Git.Construct.remoteNamed "bittorrent" Git.Construct.fromUnknown + r <- liftIO $ Git.Construct.remoteNamed "bittorrent" (pure Git.Construct.fromUnknown) return [r] gen :: Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote) diff --git a/Remote/Helper/Special.hs b/Remote/Helper/Special.hs index bdf0ead22..9f219e8b1 100644 --- a/Remote/Helper/Special.hs +++ b/Remote/Helper/Special.hs @@ -59,7 +59,7 @@ findSpecialRemotes s = do liftIO $ mapM construct $ remotepairs m where remotepairs = M.toList . M.filterWithKey match - construct (k,_) = Git.Construct.remoteNamedFromKey k Git.Construct.fromUnknown + construct (k,_) = Git.Construct.remoteNamedFromKey k (pure Git.Construct.fromUnknown) match k _ = startswith "remote." k && endswith (".annex-"++s) k {- Sets up configuration for a special remote in .git/config. -} diff --git a/Remote/Web.hs b/Remote/Web.hs index 17e3830a8..a4a484ca3 100644 --- a/Remote/Web.hs +++ b/Remote/Web.hs @@ -38,7 +38,7 @@ remote = RemoteType { -- a new release to the survivors by carrier pigeon.) list :: Annex [Git.Repo] list = do - r <- liftIO $ Git.Construct.remoteNamed "web" Git.Construct.fromUnknown + r <- liftIO $ Git.Construct.remoteNamed "web" (pure Git.Construct.fromUnknown) return [r] gen :: Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote) |