]> git.ipfire.org Git - thirdparty/git.git/commit - t/t4052-stat-output.sh
format-patch: reduce patch diffstat width to 72
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 1 Feb 2018 12:47:50 +0000 (19:47 +0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 2 Feb 2018 18:40:34 +0000 (10:40 -0800)
commit071dd0ba43b51a2124f3f9884283cd68a9506323
treedac21d3c593db236761181162bda8df02df90dab
parent43662b23abbd8b86ce6a9c87c80900eab84d97d9
format-patch: reduce patch diffstat width to 72

Patches generated by format-patch are meant to be exchanged as emails,
most of the time. And since it's generally agreed that text in mails
should be wrapped around 70 columns or so, make sure these diffstat
follow the convention (especially when used with --cover-letter since we
already defaults to wrapping 72 columns). The default can still be
overriden with command line options.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
t/t4052-stat-output.sh