summaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-12-14 11:37:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-12-14 11:37:11 -0400
commit5ec3cea05961e4d9fc3484746860415126db5365 (patch)
tree7b76f253af6c818c9f789f76dabfef082774d634 /GitRepo.hs
parent0210628263f5a9da4f7ceb6b359108174ac01182 (diff)
Support remotes using git+ssh:// as protocol. Closes: #607056
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 539acecb7..3cbeae192 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -122,6 +122,7 @@ repoIsUrl _ = False
repoIsSsh :: Repo -> Bool
repoIsSsh Repo { location = Url url }
| uriScheme url == "ssh:" = True
+ | uriScheme url == "git+ssh:" = True
| otherwise = False
repoIsSsh _ = False