summaryrefslogtreecommitdiff
path: root/include/git2/branch.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-28 10:44:33 -0800
committerBen Straub <bs@github.com>2014-01-30 15:52:13 -0800
commit540c1809f40c1bb3cf08627a85921309852fa963 (patch)
tree09b2925d0733e0033768dff846ecf22bf5a19e49 /include/git2/branch.h
parent48110f67e4a21caac1b8157d8239d16cd9781e51 (diff)
downloadlibgit2-540c1809f40c1bb3cf08627a85921309852fa963.tar.gz
Add reflog parameters to git_branch_move
Diffstat (limited to 'include/git2/branch.h')
-rw-r--r--include/git2/branch.h8
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.