object: convert parse_object* to take struct object_id
[gitweb.git] / builtin / log.c
index d8b56ea4102e4c652c58d70e8883d2e6ee34d20f..8dd4e3daecb02fa781355ae6c814ae3f37b6eee1 100644 (file)
@@ -596,7 +596,7 @@ int cmd_show(int argc, const char **argv, const char *prefix)
                        rev.shown_one = 1;
                        if (ret)
                                break;
-                       o = parse_object(t->tagged->oid.hash);
+                       o = parse_object(&t->tagged->oid);
                        if (!o)
                                ret = error(_("Could not read object %s"),
                                            oid_to_hex(&t->tagged->oid));