Commit 734aa82642ab2e6164c206cc5898af824cb23e50

Ben Straub 2013-04-01T13:28:08

Merge pull request #1452 from nulltoken/fix/branch_doc 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.
  *