summaryrefslogtreecommitdiff
path: root/include/git2/branch.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-04-01 22:01:13 +0200
committernulltoken <emeric.fermas@gmail.com>2013-04-01 22:01:13 +0200
commitb08c3173466bf233f27b9085c22dd66c15d5bd6a (patch)
treebed3ed87e288bb139022ca476d20a449812e2a39 /include/git2/branch.h
parent08283cbdb857d09f8e623c5c23abcaa499b6b3fc (diff)
downloadlibgit2-b08c3173466bf233f27b9085c22dd66c15d5bd6a.tar.gz
branch: Fix git_branch_create() documentation
Diffstat (limited to 'include/git2/branch.h')
-rw-r--r--include/git2/branch.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h
index 4d24e2d82..89a1396af 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.
*