Support remotes using git+ssh:// as protocol. Closes: #607056

This commit is contained in:
Joey Hess 2010-12-14 11:37:11 -04:00
parent 0210628263
commit 5ec3cea059
2 changed files with 2 additions and 0 deletions

View file

@ -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