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

Tabs and spaces in patches

Thread Next
From:
Andy Lester
Date:
October 9, 2016 22:52
Subject:
Tabs and spaces in patches
Message ID:
CCD3110B-AE52-48BD-9775-FDCFE1F4B78F@petdance.com
Are we migrating C source to tabs or spaces or do we not care?

I have a patch.  Some of the lines I have changed were originally indented with tabs.  Some were indented with spaces.  

Should I:

A) Change all the modified lines in my patch that are indented with tabs to be indented with spaces
B) Change all the modified lines in my patch that are indented with spaces to be indented with tabs
C) Don't change how any of the lines are indented

I don't see anything in http://perldoc.perl.org/perlhack.html that discusses it.

--
Andy Lester => www.petdance.com


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