Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-26 19:45:30 +0400
committerRussell Belfer <rb@github.com>2013-05-26 19:45:30 +0400
commit5aee96329ab7869cbe90cf80fd2a3f8f4dc5dccf (patch)
tree7f45369786a2eb70c26a9ea8de4754ccece54735
parent0d77647adc1f76df66e437e6442d7f7706e2c38e (diff)
parentf8bd730cd90a1e6219447cc9c05f41295d42bbcb (diff)
Merge pull request #1612 from drodriguez/fix-branch-delete-docs
Fix documentation of git_branch_delete.
-rw-r--r--include/git2/branch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h
index d1838a63a..de414e9b0 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -58,7 +58,8 @@ GIT_EXTERN(int) git_branch_create(
* Delete an existing branch reference.
*
* If the branch is successfully deleted, the passed reference
- * object will be freed and invalidated.
+ * object will be invalidated. The reference must be freed manually
+ * by the user.
*
* @param branch A valid reference representing a branch
* @return 0 on success, or an error code.