commit 554979a6c8d7d97d7c23022dfb1f27298f8b965e
parent 17ffb39be6dc86535cc413511450129d5a90e3e5
Author: root <root>
Date: Sun, 20 Apr 2025 15:16:36 +0200
minor change
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/stagit b/stagit
Binary files differ.
diff --git a/stagit.c b/stagit.c
@@ -522,13 +522,16 @@ writeheader(FILE *fp, const char *title)
fputs("</head>\n<body><div class=\"main-container\">\n<table><tr>", fp);
// fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
// relpath, relpath);
- fputs("<td><h1><a href=\"/\">", fp);
+ fputs("<td><h1><a href=\"/\">Back</a> (Current repo: ", fp);
xmlencode(fp, strippedname, strlen(strippedname));
- fputs("</a></h1><span class=\"desc\">", fp);
+ fputs(")</h1><span class=\"desc\">", fp);
xmlencode(fp, description, strlen(description));
fputs("</span></td></tr>", fp);
fputs("<tr><td></td><td>\n", fp);
fprintf(fp, "<a href=\"%slog.html\">Log</a> | ", relpath);
+ fprintf(fp, "<a href=\"%s", relpath);
+ xmlencode(fp, strippedname, strlen(strippedname));
+ fputs(".zip\">Download</a> | ", fp);
fprintf(fp, "<a href=\"%sfiles.html\">Files</a> | ", relpath);
fprintf(fp, "<a href=\"%srefs.html\">Refs</a>", relpath);
if (submodules)
diff --git a/stagit.o b/stagit.o
Binary files differ.