Case-folded paths, for a worktree whose core.ignorecase is true: a
conservative full fold (review 3 F2), the NFC form upper-cased, then
lower-cased, then composed again, since case mapping can leave a
sequence that is not composed. Upper-casing first applies the full
mappings that lowercasing alone misses: ς and σ both become Σ,
then σ, and ß becomes SS, then ss. It folds at least every pair
git's ASCII comparison folds and those pairs of Unicode case folding,
so it can only refuse more often.
Case-folded paths, for a worktree whose
core.ignorecaseis true: a conservative full fold (review 3 F2), the NFC form upper-cased, then lower-cased, then composed again, since case mapping can leave a sequence that is not composed. Upper-casing first applies the full mappings that lowercasing alone misses:ςandσboth becomeΣ, thenσ, andßbecomesSS, thenss. It folds at least every pair git's ASCII comparison folds and those pairs of Unicode case folding, so it can only refuse more often.