summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilip Kelley <phkelley@hotmail.com>2013-01-24 11:03:11 -0800
committerPhilip Kelley <phkelley@hotmail.com>2013-01-24 11:03:11 -0800
commit3fbd7485d8a100f55b02132096d3ff66d390999a (patch)
treea08143079841428a53a83ff7814116743cbabd67 /include
parentef4ef36e3cd01fe8e851a649e02864a792ad43f7 (diff)
parent1d645aabefa6ac9f3f617acb7e3b9025aafcd750 (diff)
downloadlibgit2-3fbd7485d8a100f55b02132096d3ff66d390999a.tar.gz
Merge pull request #1250 from jamill/push_update_tips
Update remote tips on push
Diffstat (limited to 'include')
-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