Re: [PATCH V4] git on Mac OS and precomposed unicode
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Jan 22, 2012, 10:03 UTC
- Message-ID
- <CACsJy8AucS9ez=-zej=72dr+0AVvGFR_eZgQcabitXgmQTJOCA@mail.gmail.com>
- In-Reply-To
- <CACsJy8BKQHLdoXfSKsULkWWbWjWEuZgr=bVNKmgCSArvwbf2UA@mail.gmail.com>
2012/1/22 Nguyen Thai Ngoc Duy <pclouds@gmail.com>:
>>> In order to prevent that ever a file name in decomposed unicode is >>> entering the index, a "brute force" attempt is taken: all arguments into >>> git (argv[1]..argv[n]) are converted into precomposed unicode.
Forgot one more thing. We have case-insensitive support in place already, we can hook precomposed form conversion there before comparing. In other words we just need to support {pre,de}composed-insensitive string compare.
-- Duy