diff options
author | Ben Straub <bs@github.com> | 2014-01-27 14:12:29 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-01-30 15:52:13 -0800 |
commit | b31ebfbc666202fb576f7eb406d7a699134da09d (patch) | |
tree | 0abe6c1811c595e41cb18c5adbd0e40756737148 /include/git2 | |
parent | 67c4716f74f322b79a3e4355c273bc423eb58ec6 (diff) | |
download | libgit2-b31ebfbc666202fb576f7eb406d7a699134da09d.tar.gz |
Add reflog params to git_branch_create
Diffstat (limited to 'include/git2')
-rw-r--r-- | include/git2/branch.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/git2/branch.h b/include/git2/branch.h index 851de290a..28ca6b233 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -43,6 +43,10 @@ GIT_BEGIN_DECL * * @param force Overwrite existing branch. * + * @param signature The identity that will used to populate the reflog entry + * + * @param log_message The one line long message to be appended to the reflog + * * @return 0, GIT_EINVALIDSPEC or an error code. * A proper reference is written in the refs/heads namespace * pointing to the provided target commit. @@ -52,7 +56,9 @@ GIT_EXTERN(int) git_branch_create( git_repository *repo, const char *branch_name, const git_commit *target, - int force); + int force, + const git_signature *signature, + const char *log_message); /** * Delete an existing branch reference. |