X server source code re-indented

Chase Douglas chase.douglas at canonical.com
Wed Mar 21 15:27:52 PDT 2012

On 03/21/2012 02:25 PM, Keith Packard wrote:
> I've taken Daniel's indent recipe, fixed it up a bit and applied it to
> the master branch in the X server. To help get other branches cleaned up
> in a compatible fashion, I've stuck the scripts I used in the
> util/modular repository. They're called x-indent-all.sh and x-indent.sh.
> Patches going forward will need to be made against the server as it now
> exists, rather than with the previous whitespace, so make sure you
> re-generate diffs as needed.
> I'll also happily take whitespace cleanup patches that recover from
> mistakes made by "indent".

I haven't made any attempt to learn the new style yet. Is there a guide

At first I thought I'd just run my changes through the indent script
before committing, but as soon as we start applying indent "fixes" this
won't work.


-- Chase

More information about the xorg-devel mailing list