stagit

personal fork of stagit (rnpnr branch)
git clone anongit@rnpnr.xyz:stagit.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 2e9ebb09535362b9d6d341620736a0d3b527ff3b
Parent: cdb8a2e075ed2b427d0e2165689a3563642cefe0
Author: Randy Palamar
Date:   Sat,  4 Nov 2023 10:42:58 -0600

stagit: capitalize "Parent" and "Commit" in info

Diffstat:
Mstagit.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -592,11 +592,11 @@ writeblobhtml(FILE *fp, const git_blob *blob) void printcommit(FILE *fp, struct commitinfo *ci) { - fprintf(fp, "<b>commit</b> <a href=\"%scommit/%s.html\">%s</a>\n", + fprintf(fp, "<b>Commit:</b> <a href=\"%scommit/%s.html\">%s</a>\n", relpath, ci->oid, ci->oid); if (ci->parentoid[0]) - fprintf(fp, "<b>parent</b> <a href=\"%scommit/%s.html\">%s</a>\n", + fprintf(fp, "<b>Parent:</b> <a href=\"%scommit/%s.html\">%s</a>\n", relpath, ci->parentoid, ci->parentoid); if (ci->author) {