diff options
author | Eric Wong <e@80x24.org> | 2017-02-11 00:41:29 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-02-11 01:08:08 +0000 |
commit | 60f38818f2dbc76e20041cf1b01e2baf3322a1f1 (patch) | |
tree | 716820a77859e878a66836309aeefd946b009c5b /lib/PublicInbox/RepoGitAtom.pm | |
parent | 416ba2fdab4f6de20ad7ec3656a057bb01b17339 (diff) | |
download | public-inbox-60f38818f2dbc76e20041cf1b01e2baf3322a1f1.tar.gz |
This improves startup speed at the cost of CoW-friendliness for long-lived daemons (which can be fixed, later).
Diffstat (limited to 'lib/PublicInbox/RepoGitAtom.pm')
-rw-r--r-- | lib/PublicInbox/RepoGitAtom.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/RepoGitAtom.pm b/lib/PublicInbox/RepoGitAtom.pm index a9f40126..6d0caa02 100644 --- a/lib/PublicInbox/RepoGitAtom.pm +++ b/lib/PublicInbox/RepoGitAtom.pm @@ -70,10 +70,11 @@ sub git_atom_sed ($$) { $title = utf8_html("$title, branch $req->{q}->{h}"); my $url = repo_root_url($self, $req); my $hdr = {}; + my $subtitle = $repo_info->desc_html; $req->{axml} = qq(<?xml version="1.0"?>\n) . qq(<feed\nxmlns="http://www.w3.org/2005/Atom">) . qq(<title>$title</title>) . - qq(<subtitle>$repo_info->{desc_html}</subtitle>) . + qq(<subtitle>$subtitle</subtitle>) . qq(<link\nrel="alternate"\ntype="text/html"\nhref="$url"\n/>); my ($plinks, $id, $ai); my $end = ''; |