sequencer: convert some functions to struct object_id
[gitweb.git] / builtin / commit.c
index 1d805f5da8abd1cfafc41c5c47fd048b2549fbf4..8685c888f0cb0c7f3d9e54622456489725e5326e 100644 (file)
@@ -1758,7 +1758,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix)
                append_merge_tag_headers(parents, &tail);
        }
 
-       if (commit_tree_extended(sb.buf, sb.len, active_cache_tree->sha1,
+       if (commit_tree_extended(sb.buf, sb.len, active_cache_tree->oid.hash,
                         parents, oid.hash, author_ident.buf, sign_commit, extra)) {
                rollback_index_files();
                die(_("failed to write commit object"));