develooper Front page | perl.perl5.porters | Postings from November 2016

Re: Tabs and spaces in patches

Thread Previous | Thread Next
From:
Andy Lester
Date:
November 11, 2016 15:46
Subject:
Re: Tabs and spaces in patches
Message ID:
18D60F9E-84D3-4418-8A94-9F0D8D52C6B6@petdance.com


> But both of them support the -w switch, which ignores whitespace only changes.


Then I have no objections, so long as we have something in perlhack to tell people “Hey, if you check revision history and it seems strange that half the file got revised on the same day in late 2016, check it again with the -w flag”.

I’d also hope that a mass tabs-to-space conversion program would also trim off trailing whitespace from each line.

We also need to be aware of code in the tree that is autogenerated with tabs, like charclass_invlists.h.

--
Andy Lester => www.petdance.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About