[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applying astyle on commit

From: David Fuller
Subject: Re: applying astyle on commit
Date: Thu, 19 Apr 2001 13:03:15 -0400

>From cvs help:

The commitinfo file defines programs to execute whenever cvs commit is
about to execute.  These programs are used for pre-commit checking to
verify that the modified, added and removed files are really ready to be
committed.  This could be used, for instance, to verify that the changed
files conform to to your site's standards for coding practice.

-- David F.

Maarten de Boer wrote:
> Hello,
> We use some strict rules on code layout, but of course
> people sometimes make mistakes. Luckily, astyle does a
> great job in layouting automatically. So I would like
> to apply astyle on all the code that is commited to the
> repository, so the code inside the repository is always
> correct. People would only have to do an update after to
> commit to get the formatted version.
> So my question is: how can I do this? Doing it client
> side is not really an option, because we use different
> platforms, and besides, doing it server-side assures
> correct usage of astyle.
> Kind regards,
> Maarten
> _______________________________________________
> Info-cvs mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]