Thread (152 messages) flat view 152 messages, 23 authors, 2016-06-15

Re: git on MacOSX and files with decomposed utf-8 file names

From: Kevin Ballard <hidden>
Date: 2016-06-15 22:44:07

On Jan 21, 2008, at 9:50 PM, Linus Torvalds wrote:
On Mon, 21 Jan 2008, Kevin Ballard wrote:
quoted
Anyway, please see my countless former emails where I ask to work  
towards a
solution instead of just arguing.
We know what the solution is:

- The OS X filesystem _is_ crap (and you seem to have almost  
admitted as
  much by your comment that the HFS+ designers did it back in the dark
  ages and didn't mean for it to ever be a server filesystem anyway)
I agree that HFS+ isn't well suited for tasks which it is being asked  
to do. I was never arguing that it was the perfect filesystem. But  
that hardly matters now, I know nobody's going to bother understanding  
my argument so I may as well just stop trying.
- But we can at least make a wrapper around readdir() return the NFC  
form
  on OS X, and effectively hide much of the fallout from the crap.
Again, I don't think that's the correct solution. What about the  
translation table that was suggested back at the beginning of the  
thread? That would solve the case insensitivity issue as well, whereas  
this NFC "solution" does nothing for that.
There is no way around it. Your "solutions" all seem to boil down to
asking git to do the same idiotic crap that OS X does, taking all the
same performance hits, and just generally doing crap just to work  
around
crap in your favourite OS.
No, I am not asking git to do the same thing HFS+ does. You just  
persist in misinterpreting my arguments, no matter how many times I  
protest that this is not what I am saying.
And no, making git be stupid just to suit a stupid filesystem simply  
isn't
going to happen.

So how about you see _my_ point instead: OS X may have an inferior
filesystem, but we don't have to make git inferior just for that.  
The fact
that OS X does case independence is *its* problem, not git's.
So, what, you're saying git shouldn't do any work at all to try and  
behave nicer on OS X? Because OS X sure as hell can't change to suit  
git.

-Kevin Ballard

-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help