travis-ci: run tests with '-x' tracing
[gitweb.git] / sequencer.c
index 5bfdc4044233d5f809f9f1fbc55ebe3da477e3f0..e9baaf59bd954279970367631c930fe051712cda 100644 (file)
@@ -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;
        }