Merge branch 'cn/deprecate-ssh-git-url'
The two alternative ways to spell "ssh://" transport have been deprecated for a long time. The last mention of them has finally removed from the documentation. * cn/deprecate-ssh-git-url: Disown ssh+git and git+ssh
This commit is contained in:
@ -267,9 +267,9 @@ static enum protocol get_protocol(const char *name)
|
||||
return PROTO_SSH;
|
||||
if (!strcmp(name, "git"))
|
||||
return PROTO_GIT;
|
||||
if (!strcmp(name, "git+ssh"))
|
||||
if (!strcmp(name, "git+ssh")) /* deprecated - do not use */
|
||||
return PROTO_SSH;
|
||||
if (!strcmp(name, "ssh+git"))
|
||||
if (!strcmp(name, "ssh+git")) /* deprecated - do not use */
|
||||
return PROTO_SSH;
|
||||
if (!strcmp(name, "file"))
|
||||
return PROTO_FILE;
|
||||
|
Reference in New Issue
Block a user