Convert struct object to object_id
[gitweb.git] / builtin / merge-tree.c
index cf1cee1d56b50b2e8d49dc410cecafa51c41aee7..e124886ef1e61af30b6cdb72c133608de2aeac5e 100644 (file)
@@ -130,7 +130,7 @@ static void show_result_list(struct merge_list *entry)
        do {
                struct merge_list *link = entry->link;
                static const char *desc[4] = { "result", "base", "our", "their" };
-               printf("  %-6s %o %s %s\n", desc[entry->stage], entry->mode, sha1_to_hex(entry->blob->object.sha1), entry->path);
+               printf("  %-6s %o %s %s\n", desc[entry->stage], entry->mode, oid_to_hex(&entry->blob->object.oid), entry->path);
                entry = link;
        } while (entry);
 }