On Jan 21, 2008, at 12:08 PM, Nicolas Pitre wrote:
I agree, Linus's approach is indeed fast. And if speed is more
important than treating filenames as text instead of octets, then so
be it. This is a trade-off. But a trade-off doesn't mean one approach
is "wrong", it just means the authors of HFS+ thought it was an
acceptable trade-off. HFS+ wasn't designed to be a high-performance
filesystem that deals with lots of files, it was designed to be a
filesystem used by regular people on the Mac, and I believe treating
filenames as text is a good choice in this scenario. Unfortunately,
this does mean git has to do extra work to behave correctly on this
system.
Now, to move on to actually coming up with a solution. Unfortunately I
don't know enough about the internals of git to really evaluate the
proposed ideas myself, or to write a patch. Hopefully I'll come up
with the time to acquire the necessary knowledge, but until then I can
only participate in these higher-level discussions.
--
Kevin Ballard
http://kevin.sb.orgkevin@sb.orghttp://www.tildesoft.com