diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-01 02:05:25 +0400 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-19 19:50:52 +0400 |
commit | 66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb (patch) | |
tree | 942b12533fe7f158679c0a2a3692494be849a855 /src/transport.c | |
parent | ad5df35a47d56c3d716d7a56eac4aeb611987c11 (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.c | 2 |
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}, |