diff options
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 055f5e517..6c3eb391b 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -596,10 +596,11 @@ GIT_EXTERN(int) git_remote_is_valid_name(const char *remote_name); * All remote-tracking branches and configuration settings * for the remote will be removed. * -* @param remote A valid remote +* @param repo the repository in which to act +* @param name the name of the remove to delete * @return 0 on success, or an error code. */ -GIT_EXTERN(int) git_remote_delete(git_remote *remote); +GIT_EXTERN(int) git_remote_delete(git_repository *repo, const char *name); /** * Retrieve the name of the remote's default branch |