tlayout: right align lines changed count in diffstat - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 254f215e5007592127b9e760a01bd1747e1cf71e
parent 7067223104f028ba85deaa1996c892ddfb8230dd
Author: Hiltjo Posthuma 
Date:   Sat, 30 Apr 2016 13:08:44 +0200

layout: right align lines changed count in diffstat

Diffstat:
  M stagit.c                            |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -464,7 +464,7 @@ printshowfile(FILE *fp, struct commitinfo *ci)
                 memset(&linestr, '+', add);
                 memset(&linestr[add], '-', del);
 
-                fprintf(fp, "
| %zu ", + fprintf(fp, " | %zu", ci->deltas[i]->addcount + ci->deltas[i]->delcount); fwrite(&linestr, 1, add, fp); fputs("", fp);