[postgis-devel] astyle

Charlie Savage cfis at savagexi.com
Tue Oct 7 14:43:53 PDT 2008


> If you've edited PostGIS source, you've quickly become frustrated with
> the ghastly mix of tabs and spaces used to format code. I would like
> to propose that we begin re-formatting the source incrementally, by
> making the use of
> 
> astyle --style=ansi --indent=tab=8
> 
> on any .c/.h files we are about to modify.
> 
> - I'm about to modify foo.c!
> - astyle --style=ansi --indent=tab=8 foo.c
> - svn commit -m "Reformat!" foo.c
> - remember to set my editor to use tabs, not spaces, for block indents
> - Ok, make my changes now.

Trying to start a religious war :)

If we're going to do that - why not just reformat everything all at once 
and be done with it?


Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20081007/a3c53c65/attachment.bin>


More information about the postgis-devel mailing list