Disown ssh+git and git+ssh
Some people argue that these were silly from the beginning (see http://thread.gmane.org/gmane.comp.version-control.git/285590/focus=285601 for example), but we have to support them for compatibility. That doesn't mean we have to show them in the documentation. These were already left out of the main list, but a reference in the main manpage was left, so remove that. Also add a note to discourage their use if anybody goes looking for them in the source code. Signed-off-by: Carlos Martín Nieto <cmn@dwim.me> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
a08595f761
commit
07c7782cc8
@ -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