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 David Rowley <david.rowley@2ndquadrant.com>
Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64 Tom Lane <tgl@sss.pgh.pa.us>
Re: Can we amend gitignore so git postgresql works with git on windows using Msys/Mingw64 "Regina Obe" <lr@pcorp.us>
On 26 March 2016 at 09:26, Regina Obe  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
Дата:
От: Michael Paquier
Дата:
FAQ