mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 17:46:09 +00:00
Merge pull request #1839 from isaac/ssh-repository-invalid
SSH: Clone fails with errors: ERROR: Repository invalid & Early EOF
This commit is contained in:
commit
a6ee166111
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user