stagit

[fork] HTML git frontend
Log | Files | Refs | README | LICENSE

commit e9e7978381a2b3567902420d5ea1539d3c695b31
parent 8e4eb29210cfefd01ce797e1818df86b3fe2dce6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 17 Apr 2017 16:39:03 +0200

align line numbers to 8 spaces

... now it is done.

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

diff --git a/stagit.c b/stagit.c @@ -379,7 +379,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\">%6d</a> "; + const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%7d</a> "; const char *s = git_blob_rawcontent(blob); git_off_t len = git_blob_rawsize(blob);