Commit b08c3173466bf233f27b9085c22dd66c15d5bd6a

nulltoken 2013-04-01T22:01:13

branch: Fix git_branch_create() documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 4d24e2d..89a1396 100644
--- a/include/git2/branch.h
+++ b/include/git2/branch.h
@@ -38,10 +38,8 @@ GIT_BEGIN_DECL
  * validated for consistency. It should also not conflict with
  * an already existing branch name.
  *
- * @param target Object to which this branch should point. This object
- * must belong to the given `repo` and can either be a git_commit or a
- * git_tag. When a git_tag is being passed, it should be dereferencable
- * to a git_commit which oid will be used as the target of the branch.
+ * @param target Commit to which this branch should point. This object
+ * must belong to the given `repo`.
  *
  * @param force Overwrite existing branch.
  *