[parted-devel] Re: Enforcement of indentation
Otavio Salvador
otavio at debian.org
Thu Mar 8 16:57:10 CET 2007
Anant Narayanan <anant at kix.in> writes:
>> While I think it's bad to reformat all code and commit a very huge
>> change for indentation fix I also think is boring to always take care
>> to verify the whole file, make a patch to enforce the style and then
>> go fix what you want.
>
> I'm all for a hook script on the server-side that automatically
> corrects indentation errors (by changing whitespaces to 8 spaces
> flat). astyle does it no?
astyles a also indent does too.
I don't think automatic change of code is good thing. I much prefer a
hook that _checks_ if the indentation is OK or not.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the parted-devel
mailing list