diff options
author | Ben Straub <bs@github.com> | 2014-01-25 08:04:49 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2014-01-30 15:51:00 -0800 |
commit | 94f263f59be5be74945367b9793c57f297ed4a44 (patch) | |
tree | 18c713d67936fcb23f86794684757dbf01141f21 /src/refs.c | |
parent | 8646b0a0689c89d9cad949754885ec542b4d0ce1 (diff) | |
download | libgit2-94f263f59be5be74945367b9793c57f297ed4a44.tar.gz |
Add reflog params to set-head calls
Diffstat (limited to 'src/refs.c')
-rw-r--r-- | src/refs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refs.c b/src/refs.c index 0f0a380ea..65e7e6439 100644 --- a/src/refs.c +++ b/src/refs.c @@ -545,7 +545,7 @@ static int reference__rename(git_reference **out, git_reference *ref, const char /* Update HEAD it was pointing to the reference being renamed */ if (should_head_be_updated && - (error = git_repository_set_head(ref->db->repo, new_name)) < 0) { + (error = git_repository_set_head(ref->db->repo, new_name, signature, message)) < 0) { giterr_set(GITERR_REFERENCE, "Failed to update HEAD after renaming reference"); return error; } |