diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-01-15 15:31:23 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 14:40:50 +0100 |
commit | 412a3808889de65d8f94f22502aba10b9afbf755 (patch) | |
tree | 616ec7fcd771da85ce4c44c4a4a07fa5c5c281b8 /include/git2/remote.h | |
parent | 6bfb990dc74c3749b356f82f7c9744b43fe90ea9 (diff) | |
download | libgit2-412a3808889de65d8f94f22502aba10b9afbf755.tar.gz |
push: remove reflog message override
We always use "update by push".
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 11 |
1 files changed, 5 insertions, 6 deletions
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 <name>", where <name> 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 <name>", where <name> 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 |