]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
git: update to v2.7.0
[ps-cgit] / ui-shared.c
index c04f380be52defbcfb2afb9187b61529c24e68ed..48358cc04170df515e23f3a07af6111f0bab7f35 100644 (file)
@@ -525,7 +525,7 @@ void cgit_object_link(struct object *obj)
 {
        char *page, *shortrev, *fullrev, *name;
 
-       fullrev = sha1_to_hex(obj->sha1);
+       fullrev = oid_to_hex(&obj->oid);
        shortrev = xstrdup(fullrev);
        shortrev[10] = '\0';
        if (obj->type == OBJ_COMMIT) {