From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Joachim Wieland <joe(at)mcknight(dot)de> |
Cc: | Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgindent has been run |
Date: | 2006-10-04 20:41:44 |
Message-ID: | 200610042041.k94KfiX15735@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-www |
Joachim Wieland wrote:
> On Wed, Oct 04, 2006 at 06:15:31AM -0400, Bruce Momjian wrote:
> > Michael Meskes wrote:
> > > Is there a way to make pgindent skip a directory? It seems it has
> > > changed all expected file in ecpg's regression suite. So we see a lot of
> > > differences now.
>
> > Sure a directory can be skipped. I am confused how it could change
> > expected files because it only formats C files.
>
> The .c files that are produced by the ecpg precompiler are in the expected/
> directory as well.
>
> Instead of skipping this directory we could also rename them from *.c to
> *.source or similar such that pgindent will not touch them.
I have updated the pgindent script to skip the ecpg regression expected
directory:
find . -name '*.[ch]' -type f -print |
egrep -v '/s_lock.h|src/interfaces/ecpg/test/expected/' |
xargs -n100 pgindent
That will prevent it from being changed by pgindent in the future.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Woodward | 2006-10-04 20:43:42 | Netflix Prize data |
Previous Message | Zdenek Kotala | 2006-10-04 18:21:50 | Updated version of FAQ_Solaris |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Meskes | 2006-10-05 12:52:34 | Re: pgindent has been run |
Previous Message | Tom Lane | 2006-10-04 17:22:27 | Re: Can we fix the list footer? |