aboutsummaryrefslogtreecommitdiff
path: root/GitRepo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'GitRepo.hs')
-rw-r--r--GitRepo.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/GitRepo.hs b/GitRepo.hs
index 3cbeae192..1ce6b8aec 100644
--- a/GitRepo.hs
+++ b/GitRepo.hs
@@ -122,7 +122,9 @@ repoIsUrl _ = False
repoIsSsh :: Repo -> Bool
repoIsSsh Repo { location = Url url }
| uriScheme url == "ssh:" = True
+ -- git treats these the same as ssh
| uriScheme url == "git+ssh:" = True
+ | uriScheme url == "ssh+git:" = True
| otherwise = False
repoIsSsh _ = False