Re: git on MacOSX and files with decomposed utf-8 file names
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 19, 2008, 22:58 UTC
- Message-ID
- <alpine.LSU.1.00.0801192256480.5731@racer.site>
- In-Reply-To
- <alpine.LFD.1.00.0801191026500.2957@woody.linux-foundation.org>
Hi,
On Sat, 19 Jan 2008, Linus Torvalds wrote:
Show 11 quoted lines
> On Sat, 19 Jan 2008, Dmitry Potapov wrote: > > > > Actually, there is, if you care to do something. You can write a > > wrapper around readdir(3) that will recodes filenames in Unicode > > Normal Forms C. > > If somebody wants to do this, then readdir() isn't the only place, but > yes, readdir() is one of the places. > > I suspect that if we were to just do the "turn into NFC on readdir() on > OS X", that might actually be good enough to hide most of the problems.
I think a better approach would be to try to match the name to what we have in the index. Then we could implement case-insensitivity and MacOSX workaround at the same time.
Ciao, Dscho