git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Nguyen Thai Ngoc DuyNext: Torsten Bögershausen
Message 6 of 10 in “git on Mac OS and precomposed unicode”
  1. git on Mac OS and precomposed unicodeTorsten Bögershausen, Jan 21, 2012
  2. Carlos Martín NietoJan 21, 2012
  3. Erik Faye-LundJan 29, 2012
  4. Junio C HamanoJan 21, 2012
  5. Nguyen Thai Ngoc DuyJan 22, 2012
  6. Nguyen Thai Ngoc DuyJan 22, 2012
  7. Torsten BögershausenJun 24, 2012
  8. Robin RosenbergJul 25, 2012
  9. Torsten BögershausenJan 29, 2012
  10. Torsten BögershausenJan 29, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.