about summary refs log tree commit diff stats
path: root/ui-commit.c
diff options
context:
space:
mode:
authorJune McEnroe2020-02-21 08:07:50 +0000
committerJune McEnroe2022-02-13 11:52:17 -0500
commit8f9034884bb592a0514d85771bd0096b1584b552 (patch)
tree93b88dde2cb54ce3f4d2a6615a3b3b4ce75f0576 /ui-commit.c
parentShow symlink targets in tree listing (diff)
downloadcgit-8f9034884bb592a0514d85771bd0096b1584b552.tar.gz
cgit-8f9034884bb592a0514d85771bd0096b1584b552.zip
Show subject in commit page title
Diffstat (limited to 'ui-commit.c')
-rw-r--r--ui-commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-commit.c b/ui-commit.c index 783211f..7e6b5a0 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");