Skip to content

Commit 0d84de0

Browse files
author
Edward Thomson
authored
Merge pull request libgit2#3869 from richardipsum/fix-outdated-comment
Fix outdated comment
2 parents 78b500b + 8b2ad59 commit 0d84de0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/transport.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ static int transport_find_fn(
8787
/* For other systems, perform the SSH check first, to avoid going to the
8888
* filesystem if it is not necessary */
8989

90-
/* It could be a SSH remote path. Check to see if there's a :
91-
* SSH is an unsupported transport mechanism in this version of libgit2 */
90+
/* It could be a SSH remote path. Check to see if there's a : */
9291
if (!definition && strrchr(url, ':')) {
93-
// re-search transports again with ssh:// as url so that we can find a third party ssh transport
92+
/* re-search transports again with ssh:// as url
93+
* so that we can find a third party ssh transport */
9494
definition = transport_find_by_url("ssh://");
9595
}
9696

0 commit comments

Comments
 (0)