From cd8a9f7b27ec43ce7a809e86a2d26236ccf1bb41 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 21 Feb 2020 08:07:50 +0000 Subject: feat(cgit/ui-commit): show subject in page title --- third_party/cgit/ui-commit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party') diff --git a/third_party/cgit/ui-commit.c b/third_party/cgit/ui-commit.c index b98c77f6a8ce..f7942e10fa01 100644 --- a/third_party/cgit/ui-commit.c +++ b/third_party/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