Commit fbabe855 by Isaac Kearse

Trim leading colon from ssh repository path

parent ef6389ad
...@@ -51,6 +51,7 @@ static int gen_proto(git_buf *request, const char *cmd, const char *url) ...@@ -51,6 +51,7 @@ static int gen_proto(git_buf *request, const char *cmd, const char *url)
repo = strchr(url, '/'); repo = strchr(url, '/');
} else { } else {
repo = strchr(url, ':'); repo = strchr(url, ':');
repo++;
} }
if (!repo) { if (!repo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment