From mboxrd@z Thu Jan 1 00:00:00 1970 From: june at causal.agency (C. McEnroe) Date: Fri, 21 Feb 2020 18:45:18 -0500 Subject: [PATCH] ui-commit: show subject in page title Message-ID: <20200221234518.86715-1-june@causal.agency> --- Unclear whether this project actually accepts patches, but I figure I'd share it with the other list subscribers :) ui-commit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-commit.c b/ui-commit.c index 9a47b54..ac3ca01 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -43,6 +43,7 @@ void cgit_print_commit(char *hex, const char *prefix) load_ref_decorations(NULL, DECORATE_FULL_REFS); + ctx.page.title = fmtalloc("%s - %s", info->subject, ctx.page.title); cgit_print_layout_start(); cgit_print_diff_ctrls(); html("\n"); -- 2.25.0