Source code formatting proposal (Was: Re: shell32 patches to be usable by ReactOS Explorer)

Jakob Eriksson jakov at
Tue Jan 13 06:11:46 CST 2004

Alexandre Julliard wrote:

>There's no reason to reformat all of shell32. If a given function is
>messed up you can fix it (in a separate patch), but otherwise it
>doesn't really matter if all functions don't use the exact same style.

add source code formatting at check-in - with a twist.
The check-in script should only do the formatting if there is a comment 
in the header
of the source file, like so:

/* Allow-auto-indenting */

Those who consider themselves "maintainers" of a certain file can add 
this comment
to their patches and from then on the file will be auto-indented at 


More information about the wine-devel mailing list