stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit 32a5652ea10074d7327c8ad054807aecae5732fa
parent 7392fa22157e0c6e28a00d48ecd52fb1d3a5e378
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Apr 2020 10:49:50 -0500

Wrap filenames in header

Diffstat:
Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -797,10 +797,10 @@ writeblob(git_object *obj, const char *fpath, const char *filename, git_off_t fi
 
 	fp = efopen(fpath, "w");
 	writeheader(fp, filename);
-	fputs("<p> ", fp);
+	fputs("<h2> ", fp);
 	xmlencode(fp, filename, strlen(filename));
 	fprintf(fp, " (%juB)", (uintmax_t)filesize);
-	fputs("</p>", fp);
+	fputs("</h2>", fp);
 
 	if (git_blob_is_binary((git_blob *)obj)) {
 		fputs("<p>Binary file.</p>\n", fp);