summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-03-03 10:07:36 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-03-03 10:07:36 -0500
commit72ca65d538d1e3ab7a9052613412bf121470dfd6 (patch)
tree1a7db7342d02450a871b4a73469a22b2e4ef07a1 /src/commit.c
parentfe477951be315e6fe28d6df9baf1557cef6fe539 (diff)
parent41513659de1958fd5907c511f7ddd2ee46e6cd69 (diff)
downloadlibgit2-72ca65d538d1e3ab7a9052613412bf121470dfd6.tar.gz
Merge pull request #2808 from libgit2/cmn/repo-ident
Remove the signature from ref-modifying functions
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c
index beb2c64c3..84f24c6cf 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -104,7 +104,7 @@ int git_commit_create_from_callback(
if (update_ref != NULL) {
error = git_reference__update_for_commit(
- repo, ref, update_ref, id, committer, "commit");
+ repo, ref, update_ref, id, "commit");
git_reference_free(ref);
return error;
}
@@ -295,7 +295,7 @@ int git_commit_amend(
if (!error && update_ref) {
error = git_reference__update_for_commit(
- repo, ref, NULL, id, committer, "commit");
+ repo, ref, NULL, id, "commit");
git_reference_free(ref);
}