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

Re: OSX, ZFS, UTF8, git - somebody hates me in this list

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
May 5, 2008, 19:45 UTC
Message-ID
<alpine.LFD.1.10.0805051240150.32269@woody.linux-foundation.org>
In-Reply-To
<86fxswa7ra.fsf@blue.stonehenge.com>
On Mon, 5 May 2008, Randal L. Schwartz wrote:
Show 5 quoted lines
> 
> As I posted in a followup, without twiddling anything, ZFS on OSX
> is case *sensitive*, but apparently still "normalizes", which is causing
> the trip-up.  I'll look to see if there are any parameters I can tweak
> to keep it from doing that, but I doubt it.

Well, the good news is that while the utf-8 normalization is crazy, you're pretty unlikely to actually hit it in practice. The git archive has the Märchen file on purpose to find these kinds of issues, but it's harmless appart from the annoyance.

Yes, some projects will have i18n support that may have files with special characters on purpose, and they can cause problems. Not least exactly because OS X does all the normalization exactly the wrong way (ie it chose the _unusual_ way to do things, expanding strings to their longest format rather than their shortest format), but I would expect it to be very rare in general, partly because it doesn't really matter what SCM you use to track things, and you'll have similar issues if you ever develop anything across OS's.

We can fix it. Junio hasn't merged my stupid infrastructure into core git yet, and I still don't really care enough or have a OS X box to test on (I've got a couple of mac minis, but they run that other OS ;), but we'll get the insane OS X crap handled *some* day.

			Linus
Previous: Randal L. SchwartzNext: Johannes Schindelin
Message 14 of 16 in “OSX, ZFS, UTF8, git - somebody hates me in this list”
  1. Randal L. SchwartzMay 4, 2008
  2. Shawn O. PearceMay 4, 2008
  3. Randal L. SchwartzMay 4, 2008
  4. Randal L. SchwartzMay 4, 2008
  5. David BrownMay 5, 2008
  6. Wincent ColaiutaMay 5, 2008
  7. Shawn O. PearceMay 4, 2008
  8. Randal L. SchwartzMay 4, 2008
  9. Shawn O. PearceMay 4, 2008
  10. Randal L. SchwartzMay 5, 2008
  11. Linus TorvaldsMay 5, 2008
  12. TarmiganMay 5, 2008
  13. Randal L. SchwartzMay 5, 2008
  14. Linus TorvaldsMay 5, 2008
  15. Johannes SchindelinMay 6, 2008
  16. Mitch TishmackMay 5, 2008

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.