stagit

custom fork of stagit
Index Commits Files Refs README LICENSE
commit 8e38451359e72044954769f45400454d99e73767
parent 096db14ea5767753b3d41862155d7e364217d0a4
Author: mjkloeckner <martin.cachari@gmail.com>
Date:   Fri,  6 Jan 2023 01:05:18 -0300

print the commit hash which is being parsed

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c
@@ -866,9 +866,9 @@ writelog(FILE *fp, const git_oid *oid)
             fpfile = efopen(path, "w");
             writeheader(fpfile, ci->summary);
             fputs("<div id=\"content\">\n", fpfile);
-
             fputs("<pre id=\"commit-summary\">", fpfile);
             printshowfile(fpfile, ci);
+            printf("%s\n", ci->oid);
             fputs("</pre>\n", fpfile);
             writefooter(fpfile);
             checkfileerror(fpfile, path, 'w');