about summary refs log tree commit diff
path: root/third_party/cgit/ui-commit.c
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T21·05+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T21·05+0000
commitd657e878fa518cd0489ee6352261bf17185c3fe4 (patch)
treefd869264f84f327080b10788f36ab75bb5e9b113 /third_party/cgit/ui-commit.c
parent68d1d87a9b2fbccf866230a3d2c95ae0771c82e5 (diff)
parentcd8a9f7b27ec43ce7a809e86a2d26236ccf1bb41 (diff)
merge: Add june's cgit patches to //third_party/cgit r/568
june maintains some patches on https://git.causal.agency/cgit/log/
that seem sensible to include in this tree.
Diffstat (limited to 'third_party/cgit/ui-commit.c')
-rw-r--r--third_party/cgit/ui-commit.c1
1 files changed, 1 insertions, 0 deletions
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("<table summary='commit info' class='commit-info'>\n");