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

From: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
To: Regina Obe <lr(at)pcorp(dot)us>
Cc: 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 11:55:35
Message-ID: CAKJS1f9cpUjVevr0P5JqTfwMQTd3+5m=_9ikd1-JWbwwcj-w_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.
> So I end up with non-sense messages like this:

Sounds like git is setup to convert the line endings to CRLF.

Check:
git config --list | grep crlf

Likely this will be set to "true"

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

drop the --global if you only want to change the current repo.

--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-03-26 12:27:29 Re: pg_rewind test race condition..?
Previous Message Piotr Stefaniak 2016-03-26 11:12:44 Two division by 0 errors in optimizer/plan/planner.c and optimizer/path/costsize.c