We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9561cd commit d6ac5faCopy full SHA for d6ac5fa
gix-url/src/scheme.rs
@@ -24,7 +24,8 @@ pub enum Scheme {
24
impl<'a> From<&'a str> for Scheme {
25
fn from(value: &'a str) -> Self {
26
match value {
27
- "ssh" => Scheme::Ssh,
+ // "ssh+git" and "git+ssh" are legacy, but Git still allows them and so should we
28
+ "ssh" | "ssh+git" | "git+ssh" => Scheme::Ssh,
29
"file" => Scheme::File,
30
"git" => Scheme::Git,
31
"http" => Scheme::Http,
0 commit comments