SMOLNET PORTAL home about changes
iin Atom (RFC4287) an atomTextConstruct specifies the type text as the default - 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 61c4fd365ea5a5c70943b4ba9c98250b56b34924	/scm/stagit-gopher/commit/61c4fd365ea5a5c70943b4ba9c98250b56b34924.gph	bitreich.org	70
1parent d8c4c2c3aa23b1237f15fc3ab539419c2368989e	/scm/stagit-gopher/commit/d8c4c2c3aa23b1237f15fc3ab539419c2368989e.gph	bitreich.org	70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org>	URL:mailto:hiltjo@codemadness.org	bitreich.org	70
iDate:   Mon, 10 Apr 2023 12:34:37 +0200	Err	bitreich.org	70
i	Err	bitreich.org	70
iin Atom (RFC4287) an atomTextConstruct specifies the type text as the default	Err	bitreich.org	70
i	Err	bitreich.org	70
iThis saves a few bytes.	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@@ -924,7 +924,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag)	Err	bitreich.org	70
i                 fputs("</updated>\n", fp);	Err	bitreich.org	70
i         }	Err	bitreich.org	70
i         if (ci->summary) {	Err	bitreich.org	70
i-                fputs("<title type=\"text\">", fp);	Err	bitreich.org	70
i+                fputs("<title>", fp);	Err	bitreich.org	70
i                 if (tag && tag[0]) {	Err	bitreich.org	70
i                         fputs("[", fp);	Err	bitreich.org	70
i                         xmlencode(fp, tag, strlen(tag));	Err	bitreich.org	70
i@@ -944,7 +944,7 @@ printcommitatom(FILE *fp, struct commitinfo *ci, const char *tag)	Err	bitreich.org	70
i                 fputs("</email>\n</author>\n", fp);	Err	bitreich.org	70
i         }	Err	bitreich.org	70
i 	Err	bitreich.org	70
i-        fputs("<content type=\"text\">", fp);	Err	bitreich.org	70
i+        fputs("<content>", fp);	Err	bitreich.org	70
i         fprintf(fp, "commit %s\n", ci->oid);	Err	bitreich.org	70
i         if (ci->parentoid[0])	Err	bitreich.org	70
i                 fprintf(fp, "parent %s\n", ci->parentoid);	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/stagit-gopher/commit/61c4fd36...
Content-Typetext/plain; charset=utf-8