Commit 0d84de0208fe2999522debee9f6afbd6d5f45d26

Edward Thomson 2016-08-04T13:20:49

Merge pull request #3869 from richardipsum/fix-outdated-comment Fix outdated comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/src/transport.c b/src/transport.c
index 32f8464..f08d2dc 100644
--- a/src/transport.c
+++ b/src/transport.c
@@ -87,10 +87,10 @@ static int transport_find_fn(
 	/* 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://");
 	}