ctucx.git: stagit

ctucx' stagit fork

commit ea81cac695a183e44338722d2514e8686a5f02ac
parent 7d85ec5283210275b854e4c8d3abbcda2d63ccd6
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 24 May 2022 13:26:20 +0200

rename: printcommit -> writecommit
1 file changed, 2 insertions(+), 2 deletions(-)
M
stagit.c
|
4
++--
diff --git a/stagit.c b/stagit.c
@@ -661,7 +661,7 @@ writeblobhtml(FILE *fp, const git_blob *blob)
 }
 
 void
-printcommit(FILE *fp, struct commitinfo *ci)
+writecommit(FILE *fp, struct commitinfo *ci)
 {
 	fprintf(fp, "<div class=\"event\"><b>commit</b> <a href=\"%scommit/%s.html\">%s</a><br>", relpath, ci->oid, ci->oid);
 

@@ -701,7 +701,7 @@ printshowfile(FILE *fp, struct commitinfo *ci)
 	char linestr[80];
 	int c;
 
-	printcommit(fp, ci);
+	writecommit(fp, ci);
 
 	if (!ci->deltas)
 		return;