diff options
author | Ben Straub <bs@github.com> | 2014-01-28 22:44:33 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-01-31 03:52:13 +0400 |
commit | 540c1809f40c1bb3cf08627a85921309852fa963 (patch) | |
tree | 09b2925d0733e0033768dff846ecf22bf5a19e49 /include | |
parent | 48110f67e4a21caac1b8157d8239d16cd9781e51 (diff) |
Add reflog parameters to git_branch_move
Diffstat (limited to 'include')
-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 28ca6b233..e653077d5 100644 --- a/include/git2/branch.h +++ b/include/git2/branch.h @@ -121,13 +121,19 @@ GIT_EXTERN(void) git_branch_iterator_free(git_branch_iterator *iter); * * @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 on success, GIT_EINVALIDSPEC or an error code. */ GIT_EXTERN(int) git_branch_move( git_reference **out, git_reference *branch, const char *new_branch_name, - int force); + int force, + const git_signature *signature, + const char *log_message); /** * Lookup a branch by its name in a repository. |