Re: .gitignore for some of cygwin files

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Magnus Hagander <magnus@hagander.net>
Cc: Radosław Smogura <rsmogura@softperience.eu>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-06-09T13:40:13Z
Lists: pgsql-hackers

On 06/09/2011 08:12 AM, Magnus Hagander wrote:
> On Wed, Jun 8, 2011 at 12:34, Radosław Smogura<rsmogura@softperience.eu>  wrote:
>> After compilation I got big list of differences about binaries and other
>> files. You may see it in patch.
> Hmm. Does this really affect just cygwin, and not also mingw?

Yes, indeed.

> I know
> msvc builds out-of-tree, but mingw doesn't, iirc? WHere do the EXEs go
> there?


The .exe files go exactly where linked executables go on Unix. We could 
add .gitignore lines for them just as we have for Unix, e.g. by adding 
"/initdb.exe" to src/bin/initdb.gitignore, or more simply by adding a 
global rule for "*.exe" as the patch proposes.

cheers

andrew