On Thu, 24 Jan 2008, Junio C Hamano wrote:
If it is a new file, we won't find any name that is equivalent
to $A in the index, and we use the name $A obtained from
readdir(3).
BUT with a twist.
If the filesystem is known to be inconveniently case folding, we
are better off registering $B instead of $A (assuming we can
convert from $A to $B).
Why?
If you have no other representation for the file name than $A already,
then I don't see why Git would have to play similar evil games and
corru^H^H^Hnvert $A into $B. Just store $A in the index and tree
objects and be done with it.
Nicolas