stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit a7edc3b2be44e306c65065718e2f5bab1d7bf8e0
parent 4324b4e8c3aeef90032bad6ba26c06b43d79d11e
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
@@ -399,7 +399,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);