Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] Demonstrate failure of 'core.ignorecase = true'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:22

Zbigniew Jędrzejewski-Szmek  [off-list ref] writes:
Even this updated text does not say _what_ happens when
core.ignorecase is set on a case-insensitive filesystem.
That was very much on purpose. We tell users not to do that, because it is
calling for an undefined behaviour. And leaving it undefined gives us a
wiggle room to later do something better if we choose to.
quoted hunk
Maybe:
--- 8< ---
When set, case-insensitive comparisons will be used when internally
comparing file names.
When we try to create a new file with open("./Makefile", O_CREAT) system
call, we do not opendir(".")  and readdir() to see if "makefile" exists
ourselves at all, but the above makes it sound as if we would do such
things to make sure we compare filenames ignoring there case.

That is *not* what happens, and that is not what we want to say in the
documentation.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help