diff options
author | Ben Straub <bs@github.com> | 2014-02-04 20:13:50 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-02-04 20:27:44 -0800 |
commit | 491cecfe8ce4c6fbee3357248c7b688b6e1aaab4 (patch) | |
tree | 05ce6c4474e668044a8c08225c960f274e58b097 /include/git2/push.h | |
parent | 0adb06065b944e755933e11ed9ac7ce544b55d33 (diff) | |
download | libgit2-491cecfe8ce4c6fbee3357248c7b688b6e1aaab4.tar.gz |
Add reflog parameters to git_push_update_tips
Diffstat (limited to 'include/git2/push.h')
-rw-r--r-- | include/git2/push.h | 8 |
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 |