Re: [PATCH v2 2/2] format-patch: reduce patch diffstat width to 72

2018-01-30 Thread Duy Nguyen
On Sat, Jan 27, 2018 at 11:47 PM, Jeff King wrote: > On Thu, Jan 25, 2018 at 06:59:27PM +0700, Nguyễn Thái Ngọc Duy wrote: > >> diff --git a/t/t4052-stat-output.sh b/t/t4052-stat-output.sh >> index 9f563db20a..1e62333b46 100755 >> --- a/t/t4052-stat-output.sh >> +++ b/t/t4052-stat-output.sh >> @@

Re: [PATCH v2 2/2] format-patch: reduce patch diffstat width to 72

2018-01-27 Thread Jeff King
On Thu, Jan 25, 2018 at 06:59:27PM +0700, Nguyễn Thái Ngọc Duy wrote: > diff --git a/t/t4052-stat-output.sh b/t/t4052-stat-output.sh > index 9f563db20a..1e62333b46 100755 > --- a/t/t4052-stat-output.sh > +++ b/t/t4052-stat-output.sh > @@ -60,7 +60,7 @@ do > test_cmp expect actual >

[PATCH v2 2/2] format-patch: reduce patch diffstat width to 72

2018-01-25 Thread Nguyễn Thái Ngọc Duy
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 t