aboutsummaryrefslogtreecommitdiff
path: root/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-28 12:29:21 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-28 12:29:21 -0400
commit27a97f6bc3ed88d8e6d75852b55a518843e2d814 (patch)
tree72607bd4d78e6673205809d6c36ebeefce71f0e7 /Remote.hs
parent488fba92256748a23d1cabb20e40063868f27bff (diff)
a few last changes post xmpp removal
Diffstat (limited to 'Remote.hs')
-rw-r--r--Remote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote.hs b/Remote.hs
index bcd91b703..9479e72d1 100644
--- a/Remote.hs
+++ b/Remote.hs
@@ -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