git/contrib/buildsystems
Dennis Ameling 50101b93ca cmake(windows): set correct path to the system Git config
Currently, when Git for Windows is built with CMake, the system Git config is
expected in a different location than when building via `make`: the former
expects it to be in `<runtime-prefix>/mingw64/etc/gitconfig`, the latter in
`<runtime-prefix>/etc/gitconfig`.

Because of this, things like `git clone` do not work correctly (because cURL is
no longer able to find its certificate bundle that it needs to validate HTTPS
certificates). See the full bug report and discussion here:
https://github.com/git-for-windows/git/issues/3071#issuecomment-789261386.

This commit aligns the CMake-based build by mimicking what is already done in
`config.mak.uname`.

This closes https://github.com/git-for-windows/git/issues/3071.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-06-28 20:11:50 -07:00
..
Generators contrib/buildsystems: fix expat library name for generated vcxproj 2020-09-08 14:50:00 -07:00
CMakeLists.txt cmake(windows): set correct path to the system Git config 2021-06-28 20:11:50 -07:00
engine.pl ci(vs-build): stop passing the iconv library location explicitly 2020-12-04 12:03:15 -08:00
generate mark Windows build scripts executable 2013-11-25 15:01:22 -08:00
Generators.pm contrib/buildsystems: ignore irrelevant files in Generators/ 2019-07-29 14:51:42 -07:00
parse.pl mark Windows build scripts executable 2013-11-25 15:01:22 -08:00