summaryrefslogtreecommitdiff
path: root/src/transport.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2011-07-30 22:29:00 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-18 02:34:07 +0200
commitb4c9063040efdc2bbb2d32704234e0d9c2159b4e (patch)
tree60bbbf125614305760d7068b5ca90953bfdc1a25 /src/transport.h
parent0e20ba606655d25aa3fdeb9948a55e40107ac269 (diff)
downloadlibgit2-b4c9063040efdc2bbb2d32704234e0d9c2159b4e.tar.gz
Implement sending haves
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, 4 insertions, 0 deletions
diff --git a/src/transport.h b/src/transport.h
index 9105ea453..6e3501b99 100644
--- a/src/transport.h
+++ b/src/transport.h
@@ -61,6 +61,10 @@ struct git_transport {
*/
int (*send_wants)(struct git_transport *transport, git_headarray *list);
/**
+ * Send the list of 'have' refs
+ */
+ int (*send_haves)(struct git_transport *transport, git_repository *repo);
+ /**
* Fetch the changes
*/
int (*fetch)(struct git_transport *transport);