Le 3/14/12 4:17 PM, Francesco Chicchiriccò a écrit :
Il 14/03/2012 16:04, Emmanuel Lécharny ha scritto:

I understand. Format *all* the files in one shot, then commit. That would be way better than spreading such modifications in many commits.

It *would* be way better, but I'd prefer to check this instead of relying upon IDE features only.

Why ? Are you using different IDE ? That's just fine, but that should not impact the formatting.

In any case, formatting the *changed* code (and only the changed code) is fine, but formatting the *unchanged* code is evil.

If your IDE is not smart enough not to format the entire file, then change your IDE :)

There is nothing worst community wise than a bunch of such formatting : it forbids the analysis of the commit, and makes the commit mails useless.

If you have to switch to 120 cars per line, do it in one shot.

--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to