stagit

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/stagit.git
Log | Files | Refs | README | LICENSE | Feed

commit 85e4743a6563fb546a7d31344e92f6919a9a2c86
parent 73af75afb74c780cc9fd5e2cfd4c70520a13c013
Author: Gitea <gitea@fake.local>
Date:   Sat,  4 Jun 2022 22:09:40 +0200

add link to feed

Diffstat:
Mstagit.c | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -537,16 +537,17 @@ writeheader(FILE *fp, const char *title) fputs("<tr><td></td><td>\n", fp); fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath); fprintf(fp, "<a href=\"%sfiles.html\">Files</a> | ", relpath); - fprintf(fp, "<a href=\"%srefs.html\">Refs</a>", relpath); + fprintf(fp, "<a href=\"%srefs.html\">Refs</a> | ", relpath); if (submodules) - fprintf(fp, " | <a href=\"%sfile/%s.html\">Submodules</a>", + fprintf(fp, "<a href=\"%sfile/%s.html\">Submodules</a> | ", relpath, submodules); if (readme) - fprintf(fp, " | <a href=\"%sfile/%s.html\">README</a>", + fprintf(fp, "<a href=\"%sfile/%s.html\">README</a> | ", relpath, readme); if (license) - fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>", + fprintf(fp, "<a href=\"%sfile/%s.html\">LICENSE</a> | ", relpath, license); + fprintf(fp, "<a href=\"%satom.xml\">Feed</a>", relpath); fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp); }