From 1fe0b3a2a1e3a847cd9fd8c38c6e10f4f035e623 Mon Sep 17 00:00:00 2001 From: Katalin Rebhan Date: Fri, 9 May 2025 18:39:36 +0200 Subject: Show change-id header content if present --- ui-commit.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 5536ffc..12de4c7 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -73,7 +73,15 @@ void cgit_print_commit(char *hex, const char *prefix) html_txt(show_date(info->committer_date, info->committer_tz, cgit_date_mode(DATE_ISO8601))); html("\n"); + + if (info->change_id) { + html("change"); + html_txt(info->change_id); + html("\n"); + } + html("commit"); + tmp = oid_to_hex(&commit->object.oid); cgit_commit_link(tmp, NULL, NULL, ctx.qry.head, tmp, prefix); html(" ("); -- cgit 1.5.1