From 929de31900dbc9654e0bcc1f4679f526aee7f99a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 8 Dec 2014 19:14:24 -0400 Subject: Urls can now be claimed by remotes. This will allow creating, for example, a external special remote that handles magnet: and *.torrent urls. --- Remote/Git.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Remote/Git.hs') diff --git a/Remote/Git.hs b/Remote/Git.hs index fdadac2d6..74fb81965 100644 --- a/Remote/Git.hs +++ b/Remote/Git.hs @@ -161,6 +161,7 @@ gen r u c gc , mkUnavailable = unavailable r u c gc , getInfo = return $ gitRepoInfo r , claimUrl = Nothing + , checkUrl = const $ return Nothing } unavailable :: Git.Repo -> UUID -> RemoteConfig -> RemoteGitConfig -> Annex (Maybe Remote) -- cgit v1.2.3