Merge pull request #1839 from isaac/ssh-repository-invalid

SSH: Clone fails with errors: ERROR: Repository invalid & Early EOF
This commit is contained in:
Vicent Martí 2013-09-11 16:46:39 -07:00
commit a6ee166111

View File

@ -51,6 +51,7 @@ static int gen_proto(git_buf *request, const char *cmd, const char *url)
repo = strchr(url, '/');
} else {
repo = strchr(url, ':');
if (repo) repo++;
}
if (!repo) {