Re: Source reindenting
От | Dave Page |
---|---|
Тема | Re: Source reindenting |
Дата | |
Msg-id | AANLkTinX=rBTDP0dM6nrjasGE5REDL5vA6uN_axETv8b@mail.gmail.com обсуждение исходный текст |
Ответ на | Source reindenting (Magnus Hagander <magnus@hagander.net>) |
Ответы |
Re: Source reindenting
Re: Source reindenting |
Список | pgadmin-hackers |
On Wed, Dec 29, 2010 at 5:30 PM, Magnus Hagander <magnus@hagander.net> wrote: > I just did a testrun with astyle to reindent and restyle the code. I > created a rule in Makefile.am per: > > diff --git a/Makefile.am b/Makefile.am > index be6af45..8266f8d 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -65,3 +65,13 @@ endif > # We need to ensure the help cache is world writeable > install-data-hook: > chmod 0666 $(help_cache) > + > +# Perform astyle cleanup per rules: > +# * -p - insert space around parenthesis > +# * -b - bracket style > +# * -S - indent switches > +# * -s4 - intent with spaces, 4 of them Didn't we say we were going to move to tabs? > It's going to cause merge conflicts like hell. but it's going to do > that whenever we run it. So should we just go ahead and run it? Why not? :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: