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

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

From: PJ Weisberg <hidden>
Date: 2016-06-15 22:53:22

2012/3/22 Junio C Hamano [off-list ref]:
Zbigniew Jędrzejewski-Szmek  [off-list ref] writes:
quoted
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.
Where do you tell users not to do that?  Nothing on the man page
actually says that the behavior is undefined, but it does seem to be
weird.  Rename default.asp to Default.asp, and Git reports that
default.asp was deleted, but doesn't mention Default.asp.  (Presumably
it sees Default.asp and decides that it's the same as default.asp,
which it already determined was deleted.  Like I said, weird.)

-PJ

Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help