mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 09:09:33 +00:00
Fix comment so it doesn't go over 100 chars
This commit is contained in:
parent
8a8820d89f
commit
f0a2def5e4
@ -62,16 +62,18 @@ static int transport_find_fn(const char *url, git_transport_cb *callback, void *
|
||||
if (!definition && git_path_exists(url) && git_path_isdir(url))
|
||||
definition = &local_transport_definition;
|
||||
|
||||
/* 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, ':'))
|
||||
definition = &dummy_transport_definition; /* SSH is an unsupported transport mechanism in this version of libgit2 */
|
||||
definition = &dummy_transport_definition;
|
||||
#else
|
||||
/* 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 : */
|
||||
/* 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, ':'))
|
||||
definition = &dummy_transport_definition; /* SSH is an unsupported transport mechanism in this version of libgit2 */
|
||||
definition = &dummy_transport_definition;
|
||||
|
||||
/* Check to see if the path points to a file on the local file system */
|
||||
if (!definition && git_path_exists(url) && git_path_isdir(url))
|
||||
|
Loading…
Reference in New Issue
Block a user