Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-28 22:44:33 +0400
committerBen Straub <bs@github.com>2014-01-31 03:52:13 +0400
commit540c1809f40c1bb3cf08627a85921309852fa963 (patch)
tree09b2925d0733e0033768dff846ecf22bf5a19e49 /include
parent48110f67e4a21caac1b8157d8239d16cd9781e51 (diff)
Add reflog parameters to git_branch_move
Diffstat (limited to 'include')
-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.