Enforcement of indentation [was Re: [parted-devel] avoid printf, when easy to do]

Otavio Salvador otavio at debian.org
Thu Mar 8 14:06:54 CET 2007


David Cantrell <dcantrell at redhat.com> writes:

>> Yes, I agree that we need to make it global but the problem is when we
>> should enforce it. David?
>
> Regarding enforcing formatting standards, I do not want a script to
> automatically check commits.  There's really no need for something like
> that when we could all check each other's patches before commit anyway.

I'm still not certain on it yet. Both has pros and cons.

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.

-- 
        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