From 254f215e5007592127b9e760a01bd1747e1cf71e Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 30 Apr 2016 13:08:44 +0200 Subject: [PATCH] layout: right align lines changed count in diffstat --- stagit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stagit.c b/stagit.c index 4664fdc..b27cbf6 100644 --- 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, " | %zu ", + fprintf(fp, " | %zu", ci->deltas[i]->addcount + ci->deltas[i]->delcount); fwrite(&linestr, 1, add, fp); fputs("", fp); -- libgit2 1.1.1