[petsc-dev] Style Guide: How to format single-line if/for/while-blocks?

Karl Rupp rupp at mcs.anl.gov
Tue Jan 22 14:49:44 CST 2013


>         Albeit not ideal, I think it's reasonable to
>           - either wait for a similar way of doing that with Mercurial, or
>           - use gitifyhg
>         for users who insist on using custom non-PETSc-style. This is a
>         fairly low hurdle compared to what you get for it.
>
>
>     Queue Matt screaming about how he'll never (a) use git OR (b) put a
>     space after 'for'.
>
>
> I am not morally opposed to git (spaces after for is as attractive as
> crack on the repairman). However,
> we will not be using git for PETSc before my daughter goes to school.

Then let's hope that somebody comes up with a smudge-filter for Mercurial...

Best regards,
Karli



More information about the petsc-dev mailing list