mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 04:30:48 +00:00
Merge pull request #3869 from richardipsum/fix-outdated-comment
Fix outdated comment
This commit is contained in:
commit
0d84de0208
@ -87,10 +87,10 @@ static int transport_find_fn(
|
|||||||
/* For other systems, perform the SSH check first, to avoid going to the
|
/* For other systems, perform the SSH check first, to avoid going to the
|
||||||
* filesystem if it is not necessary */
|
* filesystem if it is not necessary */
|
||||||
|
|
||||||
/* It could be a SSH remote path. Check to see if there's a :
|
/* 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 */
|
|
||||||
if (!definition && strrchr(url, ':')) {
|
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://");
|
definition = transport_find_by_url("ssh://");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user