stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit 079417530dd0e12bf62d548a66d65c094658a247
parent 9d23e630cab2156479a639dd486abc0787af652d
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Apr 2020 11:31:25 -0500

Reduce line number width

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stagit.c b/stagit.c
@@ -505,7 +505,7 @@ int
 writeblobhtml(FILE *fp, const git_blob *blob)
 {
 	size_t n = 0, i, prev;
-	const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%7d</a> ";
+	const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%5d</a> ";
 	const char *s = git_blob_rawcontent(blob);
 	git_off_t len = git_blob_rawsize(blob);