summaryrefslogtreecommitdiff
path: root/include/git2/refs.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-05-30 03:47:10 +0200
committerVicent Marti <tanoku@gmail.com>2013-05-30 03:47:10 +0200
commit4e6e2ff26f5a04a4628aa0d81e5d5d73acf28ec4 (patch)
tree9a6d20bb0d7e8b390bbb0a5b0a67a493ea778fd6 /include/git2/refs.h
parentec24e542969f9d49e41e4c2cb3eac2259b1818c2 (diff)
downloadlibgit2-4e6e2ff26f5a04a4628aa0d81e5d5d73acf28ec4.tar.gz
...Aaaand this works
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);