summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/refs.h')
-rw-r--r--include/git2/refs.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/git2/refs.h b/include/git2/refs.h
index 44b658d5b..cec830653 100644
--- a/include/git2/refs.h
+++ b/include/git2/refs.h
@@ -257,11 +257,6 @@ GIT_EXTERN(int) git_reference_set_target(
* The new name will be checked for validity.
* See `git_reference_create_symbolic()` for rules about valid names.
*
- * On success, the given git_reference will be deleted from disk and a
- * new `git_reference` will be returned.
- *
- * The reference will be immediately renamed in-memory and on disk.
- *
* If the `force` flag is not enabled, and there's already
* a reference with the given name, the renaming will fail.
*
@@ -277,7 +272,7 @@ GIT_EXTERN(int) git_reference_set_target(
*
*/
GIT_EXTERN(int) git_reference_rename(
- git_reference **out,
+ git_reference **new_ref,
git_reference *ref,
const char *new_name,
int force);