summaryrefslogtreecommitdiff
path: root/src/transport.c
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2012-12-13 18:08:45 -0500
committerJameson Miller <jamill@microsoft.com>2012-12-13 18:08:45 -0500
commitf0a2def5e4f0d8e91bf6fca66ac64d8a8c893c84 (patch)
treed7be41efb913387577f01903dacfcebb8e869951 /src/transport.c
parent8a8820d89fce2831e4a3efffcd9b75cbc479152a (diff)
downloadlibgit2-f0a2def5e4f0d8e91bf6fca66ac64d8a8c893c84.tar.gz
Fix comment so it doesn't go over 100 chars
Diffstat (limited to 'src/transport.c')
-rw-r--r--src/transport.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/transport.c b/src/transport.c
index 1c4f3301b..b69072f94 100644
--- a/src/transport.c
+++ b/src/transport.c
@@ -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))