Ignore src/tools/msvc/config.pl in code tree for MSVC compilation - Mailing list pgsql-hackers

From Michael Paquier
Subject Ignore src/tools/msvc/config.pl in code tree for MSVC compilation
Date
Msg-id CAB7nPqT69ftezbJUAYw91KVKby6u9AKrf9AgVv0fjVa1Mc_tOg@mail.gmail.com
Whole thread Raw
Responses Re: Ignore src/tools/msvc/config.pl in code tree for MSVC compilation  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hi all,

MSVC build uses two configuration perl files when running:
config_default.pl and config.pl. The former is mandatory and is
present in the code tree, while the latter can be used to override
settings with some custom parameters. As far as I understand from the
docs, config.pl should be used only in a custom environment and should
never be committed. Hence, why not adding a .gitignore in
src/tools/msvc and ignoring this file? This will prevent unfortunate
commits that could include this file and impact the devs working on
Windows. The patch attached does that. I think that it should be
back-patched for consistency across branches..
Regards,
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Joni Martikainen
Date:
Subject: Select queries which violates table constrains
Next
From: Michael Paquier
Date:
Subject: Re: Ignore src/tools/msvc/config.pl in code tree for MSVC compilation