summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-02-04 20:13:50 -0800
committerBen Straub <bs@github.com>2014-02-04 20:27:44 -0800
commit491cecfe8ce4c6fbee3357248c7b688b6e1aaab4 (patch)
tree05ce6c4474e668044a8c08225c960f274e58b097 /include/git2
parent0adb06065b944e755933e11ed9ac7ce544b55d33 (diff)
downloadlibgit2-491cecfe8ce4c6fbee3357248c7b688b6e1aaab4.tar.gz
Add reflog parameters to git_push_update_tips
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/push.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/git2/push.h b/include/git2/push.h
index 12f0e7f2c..c98c6d96e 100644
--- a/include/git2/push.h
+++ b/include/git2/push.h
@@ -103,10 +103,16 @@ GIT_EXTERN(int) git_push_add_refspec(git_push *push, const char *refspec);
* Update remote tips after a push
*
* @param push The push object
+ * @param signature The identity to use when updating reflogs
+ * @param reflog_message The message to insert into the reflogs. If NULL, the
+ * default is "update by push".
*
* @return 0 or an error code
*/
-GIT_EXTERN(int) git_push_update_tips(git_push *push);
+GIT_EXTERN(int) git_push_update_tips(
+ git_push *push,
+ const git_signature *signature,
+ const char *reflog_message);
/**
* Actually push all given refspecs