summaryrefslogtreecommitdiff
path: root/src/branch.c
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2014-01-28 11:30:36 -0800
committerBen Straub <bs@github.com>2014-01-30 15:52:13 -0800
commitccf6ce5c895c5d2261538150e945c93799de0999 (patch)
tree54177c5c6cb78fce834ecefd2592b770987fe29f /src/branch.c
parent540c1809f40c1bb3cf08627a85921309852fa963 (diff)
downloadlibgit2-ccf6ce5c895c5d2261538150e945c93799de0999.tar.gz
Ensure renaming a reference updates the reflog
Diffstat (limited to 'src/branch.c')
-rw-r--r--src/branch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/branch.c b/src/branch.c
index 4658d3bdd..c7651c6c3 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -211,7 +211,8 @@ int git_branch_move(
/* first update ref then config so failure won't trash config */
error = git_reference_rename(
- out, branch, git_buf_cstr(&new_reference_name), force);
+ out, branch, git_buf_cstr(&new_reference_name), force,
+ signature, log_message);
if (error < 0)
goto done;