Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-05-01 02:05:25 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-05-19 19:50:52 +0400
commit66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb (patch)
tree942b12533fe7f158679c0a2a3692494be849a855 /src/transport.c
parentad5df35a47d56c3d716d7a56eac4aeb611987c11 (diff)
http: add https support when GnuTLS is available
If it's not available, an error saying so will be returned when trying to use a https:// URL. This also unifies a lot of the network code to use git_transport in many places instead of an socket descriptor.
Diffstat (limited to 'src/transport.c')
-rw-r--r--src/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport.c b/src/transport.c
index 5b2cd7ea4..fb2b94946 100644
--- a/src/transport.c
+++ b/src/transport.c
@@ -17,7 +17,7 @@ static struct {
} transports[] = {
{"git://", git_transport_git},
{"http://", git_transport_http},
- {"https://", git_transport_dummy},
+ {"https://", git_transport_https},
{"file://", git_transport_local},
{"git+ssh://", git_transport_dummy},
{"ssh+git://", git_transport_dummy},