From 1e218f140824fdf60b278a8c11fd7031e6fc1aa3 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 21 Feb 2020 08:07:50 +0000 Subject: Show subject in commit page title --- www/git.causal.agency/cgit/ui-commit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'www') diff --git a/www/git.causal.agency/cgit/ui-commit.c b/www/git.causal.agency/cgit/ui-commit.c index 783211ff..7e6b5a06 100644 --- a/www/git.causal.agency/cgit/ui-commit.c +++ b/www/git.causal.agency/cgit/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"); -- cgit 1.4.1