author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sat, 13 Mar 2010 10:25:12 +0000 (11:25 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 13 Mar 2010 20:04:17 +0000 (12:04 -0800) | ||
commit | 00fb3d214cbb867f45de0084e6b844445e076dce | |
tree | 13e8c1e8d5c06d20bf1b0ee7383e79855d8b0331 | tree | snapshot |
parent | 4a2284b9997400d46b439a9cd272ba16cbf4f377 | commit | diff |
blame: fix indent of line numbers
Correct the calculation of the number of digits for line counts of the
form 10^n-1 (9, 99, ...) in lineno_width(). This makes blame stop
printing an extra space before the line numbers of files with that many
total lines.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Correct the calculation of the number of digits for line counts of the
form 10^n-1 (9, 99, ...) in lineno_width(). This makes blame stop
printing an extra space before the line numbers of files with that many
total lines.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c | diff | blob | history | |
t/t8003-blame.sh | diff | blob | history |