]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-clone.c
ui-blame: add blame UI
[ps-cgit] / ui-clone.c
index 5f6606acc76698e15d4f969df4c048a281f25106..0d116721cad04dec7da6002dbcd284ecce566f2f 100644 (file)
@@ -17,7 +17,7 @@ static int print_ref_info(const char *refname, const struct object_id *oid,
 {
        struct object *obj;
 
-       if (!(obj = parse_object(oid->hash)))
+       if (!(obj = parse_object(oid)))
                return 0;
 
        htmlf("%s\t%s\n", oid_to_hex(oid), refname);