Adjust stat width calculations to take --graph output into account
commit3f1451326a09a4e36c10feff65685daef1d29c32
authorLucian Poston <lucian.poston@gmail.com>
Mon, 16 Apr 2012 10:44:51 +0000 (16 03:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Apr 2012 18:28:39 +0000 (16 11:28 -0700)
treece9f969fa9792c7d238a0f10e649dae8474d4191
parent5e71a84a2da8f5dd32c13392854eab4d448c8085
Adjust stat width calculations to take --graph output into account

The recent change to compute the width of diff --stat did not take into
consideration the output from --graph. The consequence is that when both
options are used, e.g. in 'log --stat --graph', the lines are too long.

Adjust stat width calculations to take --graph output into account.

Signed-off-by: Lucian Poston <lucian.poston@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c