stagit

static git page generator (mirror)
git clone git://git.2f30.org/stagit
Log | Files | Refs | README | LICENSE

commit 254f215e5007592127b9e760a01bd1747e1cf71e
parent 7067223104f028ba85deaa1996c892ddfb8230dd
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 30 Apr 2016 13:08:44 +0200

layout: right align lines changed count in diffstat

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit.c b/stagit.c @@ -464,7 +464,7 @@ printshowfile(FILE *fp, struct commitinfo *ci) memset(&linestr, '+', add); memset(&linestr[add], '-', del); - fprintf(fp, "</td><td> | %zu <span class=\"i\">", + fprintf(fp, "</td><td> | </td><td class=\"num\">%zu</td><td><span class=\"i\">", ci->deltas[i]->addcount + ci->deltas[i]->delcount); fwrite(&linestr, 1, add, fp); fputs("</span><span class=\"d\">", fp);