transport-helper.c: refactor set_helper_option()
[gitweb.git] / combine-diff.c
index 0f62f54b5ef4bb4ec81cff5aead2d6cd66da194e..55713049a4d6764722307e2a2c870996ff9b373b 100644 (file)
@@ -1540,9 +1540,9 @@ void diff_tree_combined_merge(const struct commit *commit, int dense,
        struct sha1_array parents = SHA1_ARRAY_INIT;
 
        while (parent) {
-               sha1_array_append(&parents, parent->item->object.sha1);
+               sha1_array_append(&parents, parent->item->object.oid.hash);
                parent = parent->next;
        }
-       diff_tree_combined(commit->object.sha1, &parents, dense, rev);
+       diff_tree_combined(commit->object.oid.hash, &parents, dense, rev);
        sha1_array_clear(&parents);
 }