Zbigniew Jędrzejewski-Szmek
ec7ff5ba27
make lineno_width() from blame reusable for others
...
builtin/blame.c has a helper function to compute how many columns
we need to show a line-number, whose implementation is reusable as
a more generic helper function to count the number of columns
necessary to show any cardinal number.
Rename it to decimal_width(), move it to pager.c and export it for
use by future callers.
Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2012-02-14 16:16:19 -08:00
..
2012-02-13 11:42:18 -08:00
2011-12-21 11:42:45 -08:00
2011-11-15 15:39:33 -08:00
2012-02-14 16:16:19 -08:00
2012-02-05 17:28:03 -08:00
2011-10-17 21:37:14 -07:00
2011-12-28 11:44:54 -08:00
2011-12-21 11:26:30 -08:00
2012-01-06 12:44:07 -08:00
2012-02-13 11:42:15 -08:00
2011-12-28 12:03:19 -08:00
2011-12-17 18:21:37 -08:00
2011-12-21 10:19:04 -08:00
2011-12-13 10:17:50 -08:00
2012-01-03 16:13:14 -08:00
2011-12-13 09:26:52 -08:00
2011-12-13 09:26:52 -08:00
2011-12-13 09:39:46 -08:00
2011-11-07 22:12:19 -08:00
2012-01-23 10:49:34 -08:00
2011-12-21 10:21:04 -08:00
2011-12-20 16:02:08 -08:00
2011-12-21 12:02:44 -08:00
2012-02-05 16:30:26 -08:00
2011-11-10 09:10:51 -08:00
2011-12-28 11:32:36 -08:00
2011-12-13 21:12:34 -08:00
2011-12-22 11:27:26 -08:00
2012-01-12 23:33:39 -08:00
2011-11-07 22:12:19 -08:00
2012-02-05 23:58:42 -08:00
2011-11-07 22:12:19 -08:00
2011-12-13 09:39:46 -08:00
2011-11-13 12:21:06 -08:00
2011-12-06 15:13:39 -08:00
2011-12-22 15:30:22 -08:00
2012-01-08 14:27:28 -08:00
2011-12-13 09:39:46 -08:00
2011-11-13 12:21:06 -08:00
2011-12-12 16:48:54 -08:00
2011-12-13 09:39:46 -08:00
2011-12-13 23:07:47 -08:00
2011-11-21 14:32:40 -08:00
2011-11-04 21:40:25 -07:00