summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sequencer.c b/sequencer.c
index 5bfdc40..e9baaf5 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -1149,8 +1149,8 @@ static int try_to_commit(struct strbuf *msg, const char *author,
goto out;
}
- if (commit_tree_extended(msg->buf, msg->len, tree.hash, parents,
- oid->hash, author, opts->gpg_sign, extra)) {
+ if (commit_tree_extended(msg->buf, msg->len, &tree, parents,
+ oid, author, opts->gpg_sign, extra)) {
res = error(_("failed to write commit object"));
goto out;
}