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>2011-07-31 03:16:47 +0400
committerVicent Marti <tanoku@gmail.com>2011-08-18 04:34:07 +0400
commit7e1a94db11f38c87ae224821a8c570ffa1e11270 (patch)
tree2fef468cec5cff2e738c33078cad52ad58245fba /src/transport.h
parentb4c9063040efdc2bbb2d32704234e0d9c2159b4e (diff)
Move have sending
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/transport.h')
-rw-r--r--src/transport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport.h b/src/transport.h
index 6e3501b99..097b9ac0a 100644
--- a/src/transport.h
+++ b/src/transport.h
@@ -63,7 +63,7 @@ struct git_transport {
/**
* Send the list of 'have' refs
*/
- int (*send_haves)(struct git_transport *transport, git_repository *repo);
+ int (*send_have)(struct git_transport *transport, git_oid *oid);
/**
* Fetch the changes
*/
@@ -83,5 +83,7 @@ int git_transport_git(struct git_transport **transport);
int git_transport_dummy(struct git_transport **transport);
int git_transport_send_wants(struct git_transport *transport, git_headarray *array);
+int git_transport_send_have(struct git_transport *transport, git_oid *oid);
+int git_transport_send_done(struct git_transport *transport);
#endif