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-04-14 20:34:50 +0400
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-25 14:44:27 +0400
commitdee5515a237b2d4182e454986025199064193376 (patch)
treebf44e2a0b6d0c9977e3b1aeab7290361dec802d8 /src/fetch.h
parentdb0f96a6aff33612d88ab5d9263bcad9daf6b11a (diff)
transports: buffer the git requests before sending them
Trying to send every single line immediately won't give us any speed improvement and duplicates the code we need for other transports. Make the git transport use the same buffer functions as HTTP.
Diffstat (limited to 'src/fetch.h')
-rw-r--r--src/fetch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h
index 03767be8d..b3192a563 100644
--- a/src/fetch.h
+++ b/src/fetch.h
@@ -14,5 +14,6 @@ int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_st
int git_fetch__download_pack(const char *buffered, size_t buffered_size, GIT_SOCKET fd,
git_repository *repo, git_off_t *bytes, git_indexer_stats *stats);
+int git_fetch_setup_walk(git_revwalk **out, git_repository *repo);
#endif