Commit b345026b by Isaac Kearse

Test for repo before removing leading colon

parent fbabe855
......@@ -51,7 +51,7 @@ static int gen_proto(git_buf *request, const char *cmd, const char *url)
repo = strchr(url, '/');
} else {
repo = strchr(url, ':');
repo++;
if (repo) 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