[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: Rares Vernica <rvernica_at_gmail.com>
Date: 2007-03-16 20:33:48 CET

Andy Levy wrote:
> On 3/15/07, Rares Vernica <rvernica@gmail.com> wrote:
>> Hi,
>>
>> 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?

Thanks a lot,
Ray

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 16 20:34:33 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.