diff options
author | June McEnroe <june@causal.agency> | 2020-02-21 08:07:50 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-12-27 19:59:50 -0500 |
commit | 1e218f140824fdf60b278a8c11fd7031e6fc1aa3 (patch) | |
tree | 146d7a40b2da7c5da311381822f16636bcbf80a7 /www/git.causal.agency/cgit | |
parent | Show symlink targets in tree listing (diff) | |
download | src-1e218f140824fdf60b278a8c11fd7031e6fc1aa3.tar.gz src-1e218f140824fdf60b278a8c11fd7031e6fc1aa3.zip |
Show subject in commit page title
Diffstat (limited to '')
-rw-r--r-- | www/git.causal.agency/cgit/ui-commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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("<table summary='commit info' class='commit-info'>\n"); |