[petsc-dev] Coding style and its violations...
Dmitry Karpeev
karpeev at mcs.anl.gov
Tue Jan 15 15:17:06 CST 2013
On Tue, Jan 15, 2013 at 2:59 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Tue, Jan 15, 2013 at 2:55 PM, Dmitry Karpeev <karpeev at mcs.anl.gov>wrote:
>
>> Some projects (e.g., moose) reject a noncompliant push. The committer
>> can then rewrite the patch locally before it is published and resubmit.
>
>
> IIRC, this is done server-side, but with a DVCS, that's too late (or
> causes the "pusher" a lot more trouble). Hg and Git both support
> client-side commit hooks.
>
The upside is that setting the check server-side you ensure it is run.
Otherwise you have to rely on each committer to configure it locally.
Dmitry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130115/61d0331d/attachment.html>
More information about the petsc-dev
mailing list