stagit

custom fork of stagit
Index Commits Files Refs README LICENSE
commit a296f0a4e9f9a27764ca32b5ed195ef11ecec216
parent 2926deab8f5dbf4a23196bd213f0abe0ecebd15f
Author: mjkloeckner <martin.cachari@gmail.com>
Date:   Mon, 26 Feb 2024 13:11:09 -0300

Change top header `Log` to `Commits`

Diffstat:
Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/stagit.c b/stagit.c
@@ -553,7 +553,7 @@ writeheader(FILE *fp, const char *title)
 
     fputs("<div id=\"repo-top-buttons\">\n", fp);
     fprintf(fp, "<a <a href=\"https://git.kloeckner.com.ar\">Index</a>  ", relpath);
-    fprintf(fp, "<a href=\"%slog.html\">Log</a>  ", relpath);
+    fprintf(fp, "<a href=\"%slog.html\">Commits</a>  ", relpath);
     fprintf(fp, "<a href=\"%sfiles.html\">Files</a>  ", relpath);
     fprintf(fp, "<a href=\"%srefs.html\">Refs</a>", relpath);
     if (submodules)
@@ -1618,7 +1618,7 @@ main(int argc, char *argv[])
     fp = efopen("log.html", "w");
     relpath = "";
     mkdir("commit", S_IRWXU | S_IRWXG | S_IRWXO);
-    writeheader(fp, "Log");
+    writeheader(fp, "Commits");
     fputs("<div id=\"content\">\n", fp);
     fputs("<table id=\"log\"><thead id=\"legends\">\n<tr>"
           "<td id=\"log-date\"><b>Date</b></td>"