iatom.xml: improve output format a bit - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70
hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70
1Log /scm/stagit-gopher/log.gph bitreich.org 70
1Files /scm/stagit-gopher/files.gph bitreich.org 70
1Refs /scm/stagit-gopher/refs.gph bitreich.org 70
1Tags /scm/stagit-gopher/tag bitreich.org 70
1README /scm/stagit-gopher/file/README.gph bitreich.org 70
1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70
i--- Err bitreich.org 70
1commit a83ff32136aa4f42d62251c30533bfe1b80b7696 /scm/stagit-gopher/commit/a83ff32136aa4f42d62251c30533bfe1b80b7696.gph bitreich.org 70
1parent 66f25f38f7f59c9c37bb2462143c1250a20d04b0 /scm/stagit-gopher/commit/66f25f38f7f59c9c37bb2462143c1250a20d04b0.gph bitreich.org 70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org> URL:mailto:hiltjo@codemadness.org bitreich.org 70
iDate: Fri, 21 Feb 2020 13:45:59 +0100 Err bitreich.org 70
i Err bitreich.org 70
iatom.xml: improve output format a bit Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M stagit-gopher.c | 4 ++-- Err bitreich.org 70
i Err bitreich.org 70
i1 file changed, 2 insertions(+), 2 deletions(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/stagit-gopher.c b/stagit-gopher.c /scm/stagit-gopher/file/stagit-gopher.c.gph bitreich.org 70
i@@ -780,11 +780,11 @@ printcommitatom(FILE *fp, struct commitinfo *ci) Err bitreich.org 70
i xmlencode(fp, ci->summary, strlen(ci->summary)); Err bitreich.org 70
i fputs("</title>\n", fp); Err bitreich.org 70
i } Err bitreich.org 70
i- fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.gph\" />", Err bitreich.org 70
i+ fprintf(fp, "<link rel=\"alternate\" type=\"text/html\" href=\"commit/%s.gph\" />\n", Err bitreich.org 70
i ci->oid); Err bitreich.org 70
i Err bitreich.org 70
i if (ci->author) { Err bitreich.org 70
i- fputs("<author><name>", fp); Err bitreich.org 70
i+ fputs("<author>\n<name>", fp); Err bitreich.org 70
i xmlencode(fp, ci->author->name, strlen(ci->author->name)); Err bitreich.org 70
i fputs("</name>\n<email>", fp); Err bitreich.org 70
i xmlencode(fp, ci->author->email, strlen(ci->author->email)); Err bitreich.org 70
.
Response:
text/plain