diff options
| author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-10 20:49:43 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-08-18 02:34:10 +0200 |
| commit | 22f65b9e730cd14275897a07b61e338e25099b19 (patch) | |
| tree | 54172423e8c18782012a4f9430d2a15384b1ee56 /src/fetch.h | |
| parent | 79e9c3eca29e31dff873a99e33c452c8d5d5b6ac (diff) | |
| download | libgit2-22f65b9e730cd14275897a07b61e338e25099b19.tar.gz | |
Move negotiation to the transport
There are many ways how a transport might negotiate with the server,
so instead of making it fit into the smart protocol model, let the
transport do its thing. For now, the git protocol limits itself to
send only 160 "have" lines so we don't flood the server.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/fetch.h')
| -rw-r--r-- | src/fetch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fetch.h b/src/fetch.h index 2856f12ee..ad4451ffe 100644 --- a/src/fetch.h +++ b/src/fetch.h @@ -2,5 +2,6 @@ #define INCLUDE_fetch_h__ int git_fetch_negotiate(git_remote *remote); +int git_fetch_download_pack(char **out, git_remote *remote); #endif |
