diff options
author | June McEnroe | 2020-02-21 08:07:50 +0000 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:03:49 +0300 |
commit | 51b86d8dfa874e203394583b8ae0530e7a9f79f1 (patch) | |
tree | 4b0453c628f82f12094b95b3db1210c0fb0b5658 /ui-commit.c | |
parent | 284020825c91ec2c6704ab25f187b20656cf1300 (diff) | |
download | cgit-51b86d8dfa874e203394583b8ae0530e7a9f79f1.tar.gz cgit-51b86d8dfa874e203394583b8ae0530e7a9f79f1.tar.bz2 cgit-51b86d8dfa874e203394583b8ae0530e7a9f79f1.zip |
ui-commit: show subject in commit page title
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui-commit.c')
-rw-r--r-- | ui-commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
43 | 43 | ||
44 | load_ref_decorations(NULL, DECORATE_FULL_REFS); | 44 | load_ref_decorations(NULL, DECORATE_FULL_REFS); |
45 | 45 | ||
46 | ctx.page.title = fmtalloc("%s - %s", info->subject, ctx.page.title); | ||
46 | cgit_print_layout_start(); | 47 | cgit_print_layout_start(); |
47 | cgit_print_diff_ctrls(); | 48 | cgit_print_diff_ctrls(); |
48 | html("<table summary='commit info' class='commit-info'>\n"); | 49 | html("<table summary='commit info' class='commit-info'>\n"); |