Re: .gitignore for some of cygwin files - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: .gitignore for some of cygwin files
Date
Msg-id BANLkTimFd=XeQXY6ueAmNtm5oQPvEdZn8w@mail.gmail.com
Whole thread Raw
In response to Re: .gitignore for some of cygwin files  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Thu, Jun 9, 2011 at 15:40, Andrew Dunstan <andrew@dunslane.net> wrote:
>
>
> 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.

I think a global exclude for *.exe makes perfect sense. I don't see
why we would ever want to commit a .exe file to the repository...

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: literature on write-ahead logging
Next
From: Robert Haas
Date:
Subject: Re: Invalid byte sequence for encoding "UTF8", caused due to non wide-char-aware downcase_truncate_identifier() function on WINDOWS