commit 6f8e6cc5b091a72014bd764e58c69bf9c6725859
parent ffce38cf363f3793614dbe1facdacd037d4eb72c
Author: mjkloeckner <martin.cachari@gmail.com>
Date: Wed, 4 Jan 2023 16:43:24 -0300
add missing anchor path
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c
@@ -1276,12 +1276,15 @@ writefilestree(FILE *fp, git_tree *tree, const char *path)
xmlencode(fp, entryname, strlen(entryname));
- fputs("</a></td><td id=\"file-size\" class=\"num\" align=\"right\">", fp);
+ fputs("</a></td>", fp);
+
+ fputs("<td id=\"file-size\" class=\"num\" align=\"right\">", fp);
if (lc > 0)
fprintf(fp, "%zuL", lc);
else if (!is_obj_tree)
fprintf(fp, "%zuB", filesize);
+
fputs("</td></tr>\n", fp);
git_object_free(obj);
} else if (git_tree_entry_type(entry) == GIT_OBJ_COMMIT) {