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/fetch.h
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/fetch.h')
-rw-r--r--src/fetch.h2
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);