summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-04-14 18:34:50 +0200
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-25 12:44:27 +0200
commitdee5515a237b2d4182e454986025199064193376 (patch)
treebf44e2a0b6d0c9977e3b1aeab7290361dec802d8 /include/git2/remote.h
parentdb0f96a6aff33612d88ab5d9263bcad9daf6b11a (diff)
downloadlibgit2-dee5515a237b2d4182e454986025199064193376.tar.gz
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 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 576f5841b..8f49fddf1 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -11,6 +11,7 @@
#include "repository.h"
#include "refspec.h"
#include "net.h"
+#include "indexer.h"
/**
* @file git2/remote.h