Re: Possible minor bug in Git
Giuseppe Crinò
Johannes Schindelin
Philip Oakley
See Also
Prev Ref 1 Ref 2
2019-02-09 18:19:11 UTC
Hi Guiseppe,

On 07/02/2019 19:41, Johannes Schindelin wrote:
> Hi Giuseppe,
> 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

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` [1] that is normally auto detected that can be 
used to decide when the checks should be done and advice [2] 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?
> Ciao,
> Johannes
>> 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?
>> Giuseppe