commit 7d4449400dd3207770db0e1037a3df89d5755c3b
parent c524e499fd46917036042bdd827e7135e6b2e2e7
Author: mjkloeckner <martin.cachari@gmail.com>
Date: Thu, 5 Jan 2023 01:45:18 -0300
fix fprintf call (missing file pointer)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c
@@ -1328,7 +1328,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *path)
} else if (git_tree_entry_type(entry) == GIT_OBJ_COMMIT) {
/* commit object in tree is a submodule */
fputs("<tr><td id=\"file-mode\">m---------</td>", fp);
- fprintf("<td><a href=\"%sfile/.gitmodules.html\">", relpath);
+ fprintf(fp, "<td><a href=\"%sfile/.gitmodules.html\">", relpath);
xmlencode(fp, entrypath, strlen(entrypath));
fputs("</a> @ ", fp);
git_oid_tostr(oid, sizeof(oid), git_tree_entry_id(entry));