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

Re: force/apply code indentation

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-03-17 02:22:55 CET

On Mar 16, 2007, at 14:33, Rares Vernica wrote:

> Andy Levy wrote:
>
>> On 3/15/07, Rares Vernica wrote:
>>
>>> How can I force or apply code indentation rules on C/C++ files?
>> Run a formatting checked in a pre-commit hook script and if it
>> doesn't
>> pass the test, reject the commit.
>> Do NOT modify the source during the transaction.
>
> Is there a template for such pre-commit hook?

Here's an example which may help:

http://svn.haxx.se/users/archive-2006-06/0853.shtml

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 17 02:23:21 2007

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.