summaryrefslogtreecommitdiff
path: root/include/git2/push.h
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2013-01-17 10:20:33 -0500
committerJameson Miller <jamill@microsoft.com>2013-01-22 10:01:43 -0500
commit1d645aabefa6ac9f3f617acb7e3b9025aafcd750 (patch)
treed70abce426d026f872ea79745817afcdb9157f98 /include/git2/push.h
parent47fc264203b2bae9e8a674505ac3502c3e9e71e7 (diff)
downloadlibgit2-1d645aabefa6ac9f3f617acb7e3b9025aafcd750.tar.gz
Update remote tips on push
Diffstat (limited to 'include/git2/push.h')
-rw-r--r--include/git2/push.h9
1 files changed, 9 insertions, 0 deletions
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
@@ -39,6 +39,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
*
* @param push The push object