From e4d1e9cae04ccc0c575053f99b8c9c16fb9e3a88 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 5 Aug 2024 00:25:49 +0200 Subject: ui-log: show commit message in tooltip ... now that we have the ellipsis to indicate it is available. Signed-off-by: Christian Hesse --- ui-log.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ui-log.c') diff --git a/ui-log.c b/ui-log.c index faec658..4193831 100644 --- a/ui-log.c +++ b/ui-log.c @@ -243,8 +243,11 @@ static void print_commit(struct commit *commit, struct rev_info *revs) } cgit_commit_link(info->subject, NULL, NULL, ctx.qry.head, oid_to_hex(&commit->object.oid), ctx.qry.vpath); - if (!ctx.qry.showmsg && info->msg && *(info->msg)) - html("..."); + if (!ctx.qry.showmsg && info->msg && *(info->msg)) { + html("..."); + html_txt(info->msg); + html(""); + } show_commit_decorations(commit); html(""); cgit_open_filter(ctx.repo->email_filter, info->author_email, "log"); -- cgit v1.2.3-24-g4f1b