Re: Possible minor bug in Git
- Date: Sat, 9 Feb 2019 18:19:11 +0000
- From: Philip Oakley <philipoakley@xxxxxxx>
- Subject: Re: Possible minor bug in Git
On 07/02/2019 19:41, Johannes Schindelin wrote:
On Wed, 6 Feb 2019, Giuseppe Crinò wrote:
I wanted to have a look at the bug, and I can correctly reproduce it using version 2.20.1.windows.1.
Thank you for having a look.
The root cause of the issues will most probably be use of a case
insensitive file system on Windows (and Mac). There is a configuration
flag `core.ignoreCase`  that is normally auto detected that can be
used to decide when the checks should be done and advice  or warnings
There are also similar case issues with branch names should you want to
go that far. In any case you should probably at least cover the full
utf-8 filenames, not just ascii ones.
To start to even think of fixing this bug I need to build the source for Windows, but I got lost on how to do that.
Does this help?
Is it correct that I should cross-compile from a POSIX system (GNU/Linux), using x86_64-w64-mingw32-gcc and Gnulib to produce a static executable?
Am I missing something? How does people here build for Windows?