From 51b86d8dfa874e203394583b8ae0530e7a9f79f1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Fri, 21 Feb 2020 08:07:50 +0000 Subject: ui-commit: show subject in commit page title Signed-off-by: Jason A. Donenfeld --- ui-commit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ui-commit.c') diff --git a/ui-commit.c b/ui-commit.c index 948118c..5e88544 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"); -- cgit v1.2.3-70-g09d2