vendor/libgit2/src/push.h in rugged-0.23.0 vs vendor/libgit2/src/push.h in rugged-0.23.1
- old
+ new
@@ -81,11 +81,11 @@
/**
* Update remote tips after a push
*
* @param push The push object
- * @param signature The identity to use when updating reflogs
+ * @param callbacks the callbacks to use for this connection
*
* @return 0 or an error code
*/
int git_push_update_tips(git_push *push, const git_remote_callbacks *callbacks);
@@ -98,10 +98,11 @@
* The return value does not reflect whether the server accepted or
* refused any reference updates. Use `git_push_status_foreach()` in
* order to find out which updates were accepted or rejected.
*
* @param push The push object
+ * @param callbacks the callbacks to use for this connection
*
* @return 0 or an error code
*/
int git_push_finish(git_push *push, const git_remote_callbacks *callbacks);
@@ -115,9 +116,10 @@
*
* Return a non-zero value from the callback to stop the loop.
*
* @param push The push object
* @param cb The callback to call on each object
+ * @param data The payload passed to the callback
*
* @return 0 on success, non-zero callback return value, or error code
*/
int git_push_status_foreach(git_push *push,
int (*cb)(const char *ref, const char *msg, void *data),