tree-diff: simplify tree_entry_pathcmp
[gitweb.git] / log-tree.c
index 642faffdb7d149f162c8716eb13dd878d16baa4b..08970bf46e49f6447ada24e81e5792ea9f92f419 100644 (file)
@@ -134,6 +134,8 @@ static int add_ref_decoration(const char *refname, const unsigned char *sha1, in
                obj = ((struct tag *)obj)->tagged;
                if (!obj)
                        break;
+               if (!obj->parsed)
+                       parse_object(obj->sha1);
                add_name_decoration(DECORATION_REF_TAG, refname, obj);
        }
        return 0;