stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit a243a3a533c5cc638a3fb2f83f8eaf40ec3baa71
parent 5d4a393c9dd3c412bfb3094a6321537cfce5cc9b
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
@@ -918,10 +918,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);