diff options
| author | Christian Hesse <mail@eworm.de> | 2022-12-16 18:37:10 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2026-09-30 08:40:29 +0200 |
| commit | 3d380b534e22ee58ec85e06f93166db084307587 (patch) | |
| tree | 5eeb2ad2e544bce9f25d5a634ee2c5e82805ac8a /ui-log.c | |
| parent | d260731b378f6d93e4728accec5acd4bd3255190 (diff) | |
| download | cgit-3d380b534e22ee58ec85e06f93166db084307587.tar.gz cgit-3d380b534e22ee58ec85e06f93166db084307587.tar.bz2 cgit-3d380b534e22ee58ec85e06f93166db084307587.zip | |
ui-log: show ellipsis if detailed commit message is available
The existence of a detailed commit message may be of interst even
if only the subject is shown by default.
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-log.c')
| -rw-r--r-- | ui-log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -244,6 +244,8 @@ 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("<span class='msg-avail'>...</span>"); show_commit_decorations(commit); html("</td><td>"); cgit_open_filter(ctx.repo->email_filter, info->author_email, "log"); |
