diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-10 14:39:53 +0400 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-09 02:01:58 +0300 |
commit | 3149547b5ae526f28412574d64d874a4dfd2ed9c (patch) | |
tree | 9943060f2c2991865c61f4ec1ccdc55f9d0639db /tests/online | |
parent | 4865cc3f0631a8a4e0e1de897865df0e552c70cb (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.h | 2 |
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; |