-rw-r--r-- | ui-summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-summary.c b/ui-summary.c index 42f4300..0a7869b 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -57,17 +57,17 @@ static void cgit_print_object_ref(struct object *obj) else if (obj->type == OBJ_TREE) page = "tree"; else page = "view"; url = cgit_pageurl(cgit_query_repo, page, fmt("id=%s", sha1_to_hex(obj->sha1))); html_link_open(url, NULL, NULL); - htmlf("%s %s", type_names[obj->type], + htmlf("%s %s", typename(obj->type), sha1_to_hex(obj->sha1)); html_link_close(); } static int cgit_print_tag_cb(const char *refname, const unsigned char *sha1, int flags, void *cb_data) { struct tag *tag; |