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

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64
Дата
Msg-id CAKJS1f9cpUjVevr0P5JqTfwMQTd3+5m=_9ikd1-JWbwwcj-w_g@mail.gmail.com
обсуждение исходный текст
Ответ на Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64  ("Regina Obe" <lr@pcorp.us>)
Ответы Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 26 March 2016 at 09:26, Regina Obe <lr@pcorp.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Piotr Stefaniak
Дата:
Сообщение: Two division by 0 errors in optimizer/plan/planner.c and optimizer/path/costsize.c
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pg_rewind test race condition..?