summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-06-26 16:11:36 +0000
committerJunio C Hamano <gitster@pobox.com>2020-06-26 10:08:46 -0700
commitf7adba41820bbcfb86349c2ebc529f626d2313e3 (patch)
treeca6edb64e8db97040e03ae2c435dee2b00315099 /builtin/commit.c
parent7f5397a07c6c43a522e3802180a4d8cf1c76b59b (diff)
cmake: support for building git on windows with mingw
This patch facilitates building git on Windows with CMake using MinGW NOTE: The funtions unsetenv and hstrerror are not checked in Windows builds. Reasons NO_UNSETENV is not compatible with Windows builds. lines 262-264 compat/mingw.h compat/mingw.h(line 25) provides a definition of hstrerror which conflicts with the definition provided in git-compat-util.h(lines 733-736). To use CMake on Windows with MinGW do this: cmake `relative-path-to-srcdir` -G "MinGW Makefiles" Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions