[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Formating C/C++ code before commit with indent

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-06-22 00:56:49 CEST

Servico Tpd Rodrigo Alfonso Menezes Madera wrote:
> All of our C/C++ projects follow a well defined format (wich can be
> represented via indent params) and we wish to run indent just before the
> commits. This is important because our programmers very different setting
> in their editors such as tab spaces and formatting styles. The indent
> program handles this ok. It just has to be executed before the commit.

Our solution is to enforce the coding style on the programmers. If you
work here, you will code using the company's coding style. If you
repeatedly disregard the accepted coding style, it will affect your
annual staff review. It's just a matter of user education.

This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 00:58:25 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.