diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-28 12:29:21 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-28 12:29:21 -0400 |
commit | 27a97f6bc3ed88d8e6d75852b55a518843e2d814 (patch) | |
tree | 72607bd4d78e6673205809d6c36ebeefce71f0e7 /Remote.hs | |
parent | 488fba92256748a23d1cabb20e40063868f27bff (diff) |
a few last changes post xmpp removal
Diffstat (limited to 'Remote.hs')
-rw-r--r-- | Remote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,7 +353,7 @@ checkAvailable :: Bool -> Remote -> IO Bool checkAvailable assumenetworkavailable = maybe (return assumenetworkavailable) doesDirectoryExist . localpath -{- Remotes using the XMPP transport have urls like xmpp::user@host -} +{- Old remotes using the XMPP transport have urls like xmpp::user@host -} isXMPPRemote :: Remote -> Bool isXMPPRemote remote = Git.repoIsUrl r && "xmpp::" `isPrefixOf` Git.repoLocation r where |