stagit

custom fork of stagit
Index Commits Files Refs README LICENSE
commit 7aeca37828a8d3d8fc01fd33fa136ea927110168
parent 1ce31b0fa13c44eb83d395fcb502aec0c60e6750
Author: mjkloeckner <martin.cachari@gmail.com>
Date:   Wed,  4 Jan 2023 02:12:36 -0300

fix double repository name printing

Diffstat:
Mstagit-index.c | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -157,12 +157,11 @@ writelog(FILE *fp)
     /* percentencode(fp, stripped_name, strlen(stripped_name)); */
     /* fputs("';\"><td id=\"name\"><a href=\"", fp); */
 
-    fputs("<tr><td id=\"name\"><a href=\"",fp);
-    percentencode(fp, stripped_name, strlen(stripped_name));
-    fputs("/files.html\">", fp);
-    xmlencode(fp, stripped_name, strlen(stripped_name));
-    fputs("</a></td>", fp);
-
+    /* fputs("<tr><td id=\"name\"><a href=\"",fp); */
+    /* percentencode(fp, stripped_name, strlen(stripped_name)); */
+    /* fputs("/files.html\">", fp); */
+    /* xmlencode(fp, stripped_name, strlen(stripped_name)); */
+    /* fputs("</a></td>", fp); */
 
     fputs("<tr style=\"cursor: pointer; cursor: hand;\" onclick=\"window.location='/",fp);
     percentencode(fp, stripped_name, strlen(stripped_name));