From 1d645aabefa6ac9f3f617acb7e3b9025aafcd750 Mon Sep 17 00:00:00 2001 From: Jameson Miller Date: Thu, 17 Jan 2013 10:20:33 -0500 Subject: Update remote tips on push --- include/git2/push.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/git2/push.h') diff --git a/include/git2/push.h b/include/git2/push.h index 51f059ac4..6e07f368e 100644 --- a/include/git2/push.h +++ b/include/git2/push.h @@ -38,6 +38,15 @@ GIT_EXTERN(int) git_push_new(git_push **out, git_remote *remote); */ GIT_EXTERN(int) git_push_add_refspec(git_push *push, const char *refspec); +/** + * Update remote tips after a push + * + * @param push The push object + * + * @return 0 or an error code + */ +GIT_EXTERN(int) git_push_update_tips(git_push *push); + /** * Actually push all given refspecs * -- cgit v1.2.1