commit | 46b0be5ab7c8f8be91e1e82a88d7c492e4732d96 | [log] [tgz] |
---|---|---|
author | Corbin Halliwill <corbin.halliwill@gmail.com> | Sun Aug 21 11:10:55 2016 -0700 |
committer | Filippo Valsorda <hi@filippo.io> | Sun Aug 21 20:10:55 2016 +0200 |
tree | 1316dd805dc484b9164f9f07cf1fcd4d681f6aa2 | |
parent | 25b34b0eaeee29ddfebba1087c2dceb5b15279ab [diff] |
allow git+ssh as a scheme (#72) It turns out that sometimes this is a valid secure scheme to use. It should be allowed.
diff --git a/gbvendor/repo.go b/gbvendor/repo.go index 82f4934..6121f25 100644 --- a/gbvendor/repo.go +++ b/gbvendor/repo.go
@@ -273,7 +273,7 @@ url.Scheme = scheme switch url.Scheme { - case "https", "ssh": + case "git+ssh", "https", "ssh": if err := vcs(&url); err == nil { return url.String(), nil }