summaryrefslogtreecommitdiff
path: root/src/remote.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-12-16 08:57:05 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-12-30 17:02:50 +0000
commitfe794b2ea7fa2b59c2394eb874c4be99c115c693 (patch)
treeb8e6bb148cf6a911366f86d21c87ace163046244 /src/remote.h
parent4eb97ef3bf18403fbce351ae4cac673655d2886a (diff)
downloadlibgit2-fe794b2ea7fa2b59c2394eb874c4be99c115c693.tar.gz
remote: remove git_push from the public APIcmn/hide-push
Instead we provide git_remote_upload() and git_remote_update_tips() in order to have a parallel API for fetching and pushing.
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h
index b79ace438..ba7d6b0d9 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -28,6 +28,7 @@ struct git_remote {
void *transport_cb_payload;
git_transport *transport;
git_repository *repo;
+ git_push *push;
git_remote_callbacks callbacks;
git_transfer_progress stats;
unsigned int need_pack;