From 412a3808889de65d8f94f22502aba10b9afbf755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 15 Jan 2015 15:31:23 +0100 Subject: push: remove reflog message override We always use "update by push". --- include/git2/remote.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/git2/remote.h') diff --git a/include/git2/remote.h b/include/git2/remote.h index c7411cc3b..f85c38429 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -376,9 +376,10 @@ GIT_EXTERN(void) git_remote_free(git_remote *remote); * Update the tips to the new state * * @param remote the remote to update - * @param reflog_message The message to insert into the reflogs. If NULL, the - * default is "fetch ", where is the name of - * the remote (or its url, for in-memory remotes). + * @param reflog_message The message to insert into the reflogs. If + * NULL and fetching, the default is "fetch ", where is + * the name of the remote (or its url, for in-memory remotes). This + * parameter is ignored when pushing. * @return 0 or an error code */ GIT_EXTERN(int) git_remote_update_tips( @@ -420,12 +421,10 @@ GIT_EXTERN(int) git_remote_fetch( * @param refspecs the refspecs to use for pushing. If none are * passed, the configured refspecs will be used * @param opts the options - * @param reflog_message message to use for the reflog of upated references */ GIT_EXTERN(int) git_remote_push(git_remote *remote, const git_strarray *refspecs, - const git_push_options *opts, - const char *reflog_message); + const git_push_options *opts); /** * Get a list of the configured remotes for a repo -- cgit v1.2.1