diff options
author | Vicent Marti <tanoku@gmail.com> | 2012-07-27 18:49:37 +0200 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2012-07-27 18:49:37 +0200 |
commit | f0244463ad280664d2cac950fcc5d6ff550905d1 (patch) | |
tree | 7eeb112d69579dc8c560ef44afb247a0c3b290f5 /include/git2/branch.h | |
parent | b41a30bdbb96dc0eb2d7e30497918ecbb45fd090 (diff) | |
download | libgit2-f0244463ad280664d2cac950fcc5d6ff550905d1.tar.gz |
branch: Add `repository` argument to `create`
Yes, we can get the repository from the owner of the object, but having
it marked explicitly makes the API more consistent.
Diffstat (limited to 'include/git2/branch.h')
-rw-r--r-- | include/git2/branch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h index 15894b709..2f46720af 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -47,6 +47,7 @@ GIT_BEGIN_DECL */ GIT_EXTERN(int) git_branch_create( git_reference **branch_out, + git_repository *repo, const char *branch_name, const git_object *target, int force); |