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 <cmn@dwim.me>2014-10-10 14:39:53 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-09 02:01:58 +0300
commit3149547b5ae526f28412574d64d874a4dfd2ed9c (patch)
tree9943060f2c2991865c61f4ec1ccdc55f9d0639db /tests/online
parent4865cc3f0631a8a4e0e1de897865df0e552c70cb (diff)
remote: introduce git_remote_push()
This function, similar in style to git_remote_fetch(), performs all the steps required for a push, with a similar interface. The remote callbacks struct has learnt about the push callbacks, letting us set the callbacks a single time instead of setting some in the remote and some in the push operation.
Diffstat (limited to 'tests/online')
-rw-r--r--tests/online/push_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/online/push_util.h b/tests/online/push_util.h
index 7736912d6..3d4a38834 100644
--- a/tests/online/push_util.h
+++ b/tests/online/push_util.h
@@ -12,7 +12,7 @@ extern const git_oid OID_ZERO;
* @param data pointer to a record_callbacks_data instance
*/
#define RECORD_CALLBACKS_INIT(data) \
- { GIT_REMOTE_CALLBACKS_VERSION, NULL, NULL, cred_acquire_cb, NULL, NULL, record_update_tips_cb, data }
+ { GIT_REMOTE_CALLBACKS_VERSION, NULL, NULL, cred_acquire_cb, NULL, NULL, record_update_tips_cb, NULL, NULL, NULL, data }
typedef struct {
char *name;