summaryrefslogtreecommitdiff
path: root/src/transport.c
diff options
context:
space:
mode:
authorChris Bargren <cbargren@gmail.com>2015-12-22 10:38:31 -0700
committerChris Bargren <cbargren@gmail.com>2015-12-22 10:38:31 -0700
commited21fd745ca9119817e0005080f7dbd0234b7842 (patch)
tree581f863180707e598de6229b37dc36b954cd601a /src/transport.c
parentd900cec96c322fb85a810b3476defa8e458fa2a8 (diff)
downloadlibgit2-ed21fd745ca9119817e0005080f7dbd0234b7842.tar.gz
Handle git+ssh:// and ssh+git:// protocols support
Diffstat (limited to 'src/transport.c')
-rw-r--r--src/transport.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/transport.c b/src/transport.c
index 5c65c7c06..cf785bc88 100644
--- a/src/transport.c
+++ b/src/transport.c
@@ -35,6 +35,8 @@ static transport_definition transports[] = {
{ "file://", git_transport_local, NULL },
#ifdef GIT_SSH
{ "ssh://", git_transport_smart, &ssh_subtransport_definition },
+ { "ssh+git://", git_transport_smart, &ssh_subtransport_definition },
+ { "git+ssh://", git_transport_smart, &ssh_subtransport_definition },
#endif
{ NULL, 0, 0 }
};