Convert remaining callers of sha1_object_info_extended to object_id
[gitweb.git] / notes-utils.c
index 058c642dac24f70fe03c26079145300d3c006c7d..02407fe2a7327947dda6bf755405d2778ae450ae 100644 (file)
@@ -12,7 +12,7 @@ void create_notes_commit(struct notes_tree *t, struct commit_list *parents,
 
        assert(t->initialized);
 
-       if (write_notes_tree(t, tree_oid.hash))
+       if (write_notes_tree(t, &tree_oid))
                die("Failed to write notes tree to database");
 
        if (!parents) {