stagit
Personal fork of stagit
git clone git://mccd.space/stagitcommit 835f87d38663dd040c07d400c973d83c97821511
parent c99ef144ff30d506c51ff426fef613ca2ea3f550
Author: Marc <marc@coquand.email>
Date: Sun, 21 Jun 2026 11:55:28 +0200
Prepend base path to index
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -150,6 +150,8 @@ writelog(FILE *fp)
*p = '\0';
fputs("<tr><td><a href=\"", fp);
+ /* Prepend base path */
+ fputs("/git/", fp);
percentencode(fp, stripped_name, strlen(stripped_name));
fputs("/log.html\">", fp);
xmlencode(fp, stripped_name, strlen(stripped_name));