diff options
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/remote.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 28771ac42..8d3744265 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -572,6 +572,9 @@ GIT_EXTERN(void) git_remote_set_autotag( * * A temporary in-memory remote cannot be given a name with this method. * + * @param problems non-default refspecs cannot be renamed and will be + * stored here for further processing by the caller. Always free this + * strarray on succesful return. * @param remote the remote to rename * @param new_name the new name the remote should bear * @param callback Optional callback to notify the consumer of fetch refspecs @@ -580,10 +583,9 @@ GIT_EXTERN(void) git_remote_set_autotag( * @return 0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code */ GIT_EXTERN(int) git_remote_rename( + git_strarray *problems, git_remote *remote, - const char *new_name, - git_remote_rename_problem_cb callback, - void *payload); + const char *new_name); /** * Retrieve the update FETCH_HEAD setting. |