Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
Cc: Regina Obe <lr(at)pcorp(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64
Date: 2016-03-26 14:01:40
Message-ID: 2335.1459000900@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> writes:
> On 26 March 2016 at 09:26, Regina Obe <lr(at)pcorp(dot)us> wrote:
>> The problem is I can't compile from git postgresql, and the issue is I think
>> because my git when it pulls down the files they come in as CRLF which gets
>> all screwed up when compiling under msys/ mingw64.

> You can change the setting with:
> git config --global core.autocrlf input

Still, it's fair to wonder if we shouldn't add an entry for this to our
.gitattributes. I'm actually wondering why we wouldn't apply it to ALL
text files in git, not just the extensions Regina mentioned.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-03-26 14:16:23 Re: If a schema is created as part of an extension, should all user created tables created in that schema be considered part of the extension?
Previous Message Victor Wagner 2016-03-26 12:43:21 Building PL/Perl with ActiveState Perl 5.22 and MSVC