vendor/libgit2/src/transport.c in rugged-0.25.0b5 vs vendor/libgit2/src/transport.c in rugged-0.25.0b6

- old
+ new

@@ -27,13 +27,11 @@ static transport_definition local_transport_definition = { "file://", git_transport_local, NULL }; static transport_definition transports[] = { { "git://", git_transport_smart, &git_subtransport_definition }, { "http://", git_transport_smart, &http_subtransport_definition }, -#if defined(GIT_OPENSSL) || defined(GIT_WINHTTP) || defined(GIT_SECURE_TRANSPORT) { "https://", git_transport_smart, &http_subtransport_definition }, -#endif { "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 }, @@ -87,13 +85,13 @@ #endif /* For other systems, perform the SSH check first, to avoid going to the * filesystem if it is not necessary */ - /* It could be a SSH remote path. Check to see if there's a : - * SSH is an unsupported transport mechanism in this version of libgit2 */ + /* It could be a SSH remote path. Check to see if there's a : */ if (!definition && strrchr(url, ':')) { - // re-search transports again with ssh:// as url so that we can find a third party ssh transport + /* re-search transports again with ssh:// as url + * so that we can find a third party ssh transport */ definition = transport_find_by_url("ssh://"); } #ifndef GIT_WIN32 /* Check to see if the path points to a file on the local file system */