stagit
Personal fork of stagit
git clone git://mccd.space/stagit
| Log | Files | Refs | README | LICENSE |
commit 2a9c94420a9153f1f91788b94a974d65953bb20b parent 4290600030c33324959923687dfaf996c1364c09 Author: Marc <marc@coquand.email> Date: Mon, 29 Jun 2026 18:00:48 +0200 * Diffstat:
| M | stagit.c | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -545,7 +545,7 @@ writeheader(FILE *fp, const char *title)
if (license)
fprintf(fp, " | <a href=\"%sfile/%s.html\">LICENSE</a>",
relpath, license);
- fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp);
+ fputs("</td></tr></table>\n<div id=\"content\">\n", fp);
}
void
@@ -690,8 +690,6 @@ printshowfile(FILE *fp, struct commitinfo *ci)
ci->addcount, ci->addcount == 1 ? "" : "s",
ci->delcount, ci->delcount == 1 ? "" : "s");
- fputs("<hr/>", fp);
-
for (i = 0; i < ci->ndeltas; i++) {
patch = ci->deltas[i]->patch;
delta = git_patch_get_delta(patch);
@@ -970,7 +968,7 @@ writeblob(git_object *obj, const char *fpath, const char *filename, size_t files
fputs("<p> ", fp);
xmlencode(fp, filename, strlen(filename));
fprintf(fp, " (%zuB)", filesize);
- fputs("</p><hr/>", fp);
+ fputs("</p>", fp);
if (git_blob_is_binary((git_blob *)obj))
fputs("<p>Binary file.</p>\n", fp);