t4052: Test diff-stat output with minimum columns
commitda79161db6dcb0643ab805e5cf78d7e4e34ce993
authorLucian Poston <lucian.poston@gmail.com>
Wed, 18 Apr 2012 21:09:33 +0000 (18 14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Apr 2012 23:07:22 +0000 (18 16:07 -0700)
tree930433fb23edd9ab40245c717e1532744b77e16c
parent36dcc02c52cb60c751338591dbb3bf4d9cf5a753
t4052: Test diff-stat output with minimum columns

When COLUMNS or --stat-width restricts the diff-stat width to near the
minimum, 26 columns, the graph_width value becomes negative. Consequently, the
graph part of diff-stat is not resized properly.

Signed-off-by: Lucian Poston <lucian.poston@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4052-stat-output.sh