From: june at causal.agency (C. McEnroe)
Subject: [PATCH v2] ui-commit: show subject in page title
Date: Sun, 23 Feb 2020 13:52:27 -0500 [thread overview]
Message-ID: <20200223185227.89151-1-june@causal.agency> (raw)
Signed-off-by: C. McEnroe <june at causal.agency>
---
With Signed-off-by.
ui-commit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui-commit.c b/ui-commit.c
index 9a47b54..ac3ca01 100644
--- a/ui-commit.c
+++ b/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");
--
2.25.0
next reply other threads:[~2020-02-23 18:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-23 18:52 june [this message]
2020-02-26 12:21 ` actionmystique
2020-02-27 0:50 ` june
2020-02-27 10:07 ` actionmystique
2020-02-27 10:13 ` june
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200223185227.89151-1-june@causal.agency \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).