diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-02-15 15:29:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-09 13:54:38 -0800 |
commit | 07c7782cc8e1f37c7255dfc69c5d0e3f4d4d728c (patch) | |
tree | 997305e5d56581238bea1be4f934d5ad9b52cabd /connect.c | |
parent | a08595f76159b09d57553e37a5123f1091bb13e7 (diff) | |
download | git-07c7782cc8e1f37c7255dfc69c5d0e3f4d4d728c.tar.gz |
Disown ssh+git and git+sshcn/deprecate-ssh-git-url
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>
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |