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