X server source code re-indented
Peter Hutterer
peter.hutterer at who-t.net
Wed Mar 21 17:21:57 PDT 2012
On Wed, Mar 21, 2012 at 03:27:52PM -0700, Chase Douglas wrote:
> 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
> somewhere?
http://www.x.org/wiki/CodingStyle
Cheers,
Peter
> 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.
>
> Thanks,
>
> -- Chase
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>
More information about the xorg-devel
mailing list