[Parted-edge] [PATCH] Create the needed infra-structure to enforce the coding style

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Fri Jul 6 12:00:02 UTC 2007


> indent --gnu-style
>        --no-tabs
>        -ppi 2
>        --preserve-mtime
> $(find . -iname '*.h' -o -iname '*.c' -o -iname '*.hpp' -o -iname
> '*.cpp' -o -iname '*.cc')

David, what do you think of the above to enforce an uniform coding
style for the multi-language bindings code (bindings.git)? Apart from
enforcing the GNU Coding Standards
(http://www.gnu.org/prep/standards/standards.html) it replaces TABs
with blankspaces, indents the pre-processor directives within
#ifdef...#endif blocks, and preserves the file access and modification
times.

To avoid the current confusion in the parted.git code it would be
better if we decided this before committing anything to bindings.git.

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu



More information about the Parted-edge mailing list