Subject: | The change in default diff context from 3 to 2**31 was not documented (and seems like a bad idea) |
I was wondering why some CPAN Testers reports showed massive diffs:
http://www.cpantesters.org/cpan/report/2f8dc548-82c2-11e4-b221-9e126cbd7f71
After some digging I found this diff:
- $context = $dump_it ? 2**31 : grep( @$_ > 25, $got, $expected ) ? 3 : 25
- unless defined $context;
+ $context = 2**31 unless defined $context
The change isn't mentioned in the docs or the Changes file.
I can't see how the outputting of massive diffs could be a helpful change.
I'd like to see this change reverted.