commit | 00fb3d214cbb867f45de0084e6b844445e076dce | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Sat Mar 13 11:25:12 2010 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Mar 13 12:04:17 2010 -0800 |
tree | 13e8c1e8d5c06d20bf1b0ee7383e79855d8b0331 | |
parent | 4a2284b9997400d46b439a9cd272ba16cbf4f377 [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>