When diff stats are displayed in the terminal, the width is scaled to fit within the available $COLUMNS. The current stat width calculations do not factor in the diff output prefix that is displayed when when graphing the commit history e.g. `git log --graph --stat`. Consequently, the diff stats can wrap to next line breaking the text graph representation. This patch adjusts the diff stat width calculations to prevent line wrapping when the text-based graph representation is displayed along with the diff stats. Lucian Poston (1): Fix --stat width calculations to handle --graph diff.c | 55 ++++++++++++++++++++++++++++++++--------------- t/t4052-stat-output.sh | 24 +++++++++++++++++++- 2 files changed, 59 insertions(+), 20 deletions(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html