diff --git a/Cargo.lock b/Cargo.lock index baded0f..b88a967 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,3 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. [[package]] name = "beautylog" version = "0.1.0" diff --git a/src/git.rs b/src/git.rs index cfde924..3f64448 100644 --- a/src/git.rs +++ b/src/git.rs @@ -38,7 +38,7 @@ macro_rules! unwrap { pub fn parse_url(input: &str) -> Result<(String, String, String)> { if input.starts_with("http") { parse_http_url(input) - } else if input.starts_with("ssh") { + } else if input.starts_with("git@") { parse_ssh_url(input) } else { parse_github_url(input)