diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-01 00:05:25 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2012-05-19 17:50:52 +0200 |
commit | 66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb (patch) | |
tree | 942b12533fe7f158679c0a2a3692494be849a855 /src/fetch.h | |
parent | ad5df35a47d56c3d716d7a56eac4aeb611987c11 (diff) | |
download | libgit2-66024c7cbcbae3a75d0b0426993d8ee5fa5f9dfb.tar.gz |
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/fetch.h')
-rw-r--r-- | src/fetch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fetch.h b/src/fetch.h index b3192a563..a7f126520 100644 --- a/src/fetch.h +++ b/src/fetch.h @@ -12,7 +12,7 @@ int git_fetch_negotiate(git_remote *remote); int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_stats *stats); -int git_fetch__download_pack(const char *buffered, size_t buffered_size, GIT_SOCKET fd, +int git_fetch__download_pack(const char *buffered, size_t buffered_size, git_transport *t, git_repository *repo, git_off_t *bytes, git_indexer_stats *stats); int git_fetch_setup_walk(git_revwalk **out, git_repository *repo); |