stagit

Personal fork of stagit

git clone git://mccd.space/stagit

commit f7295b9f5fe3c0100b608ada77ef9815b5ac517c
parent 835f87d38663dd040c07d400c973d83c97821511
Author: Marc <marc@coquand.email>
Date:   Sun, 21 Jun 2026 11:59:55 +0200

Strip away useless title

Diffstat:
Mstagit-index.c | 6+-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/stagit-index.c b/stagit-index.c
@@ -104,11 +104,7 @@ writeheader(FILE *fp)
 	fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
 	fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
 	fputs("</head>\n<body>\n", fp);
-	fprintf(fp, "<table>\n<tr>\n"
-	        "<td><span class=\"desc\">", relpath);
-	xmlencode(fp, description, strlen(description));
-	fputs("</span></td></tr><tr><td>\n"
-		"</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
+	fputs("<div id=\"content\">\n"
 		"<table id=\"index\"><thead>\n"
 		"<tr><td><b>Name</b></td><td><b>Description</b></td>"
 		"<td><b>Last commit</b></td></tr>"