From: Junio C Hamano <gitster@pobox.com>
To: Kevin Ballard <kevin@sb.org>
Cc: git@vger.kernel.org
Subject: Re: Re-casing directories on case-insensitive systems
Date: Fri, 11 Jan 2008 17:30:31 -0800 [thread overview]
Message-ID: <7vprw7zv7s.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <B2968E86-D43E-4F5E-921F-DF8A15886C98@sb.org> (Kevin Ballard's message of "Fri, 11 Jan 2008 20:16:40 -0500")
Kevin Ballard <kevin@sb.org> writes:
> On Jan 11, 2008, at 7:40 PM, Johannes Schindelin wrote:
>
>> On Fri, 11 Jan 2008, Junio C Hamano wrote:
>>
>>> Kevin Ballard <kevin@sb.org> writes:
>>>
>>>> Is there a reason for this? It seems like it would be trivial to end
>>>> up with misdiagnosed "untracked" files when using any language other
>>>> than English given this behaviuor.
>>>
>>> No. The assumption of the code has always been that sane filesystems
>>> would return from readdir() the names you gave from creat().
>>
>> We do not really have to rehash that whole discussion for the Nth
>> time, do
>> we?
>
> Apparently so. By Junio's definition, HFS+ is not a sane filesystem,
> and as git grows more popular with OS X users, this issue is going to
> crop up more frequently.
It's not "my" definition, but you asked the reason and I gave
the answer. We can close this issue of "is HFS+ sane" now.
HFS+ is insane, period. And as Linus said, you cannot forgive
its insanity using the historical baggage argument, like MS-DOS.
HOWEVER.
It is a totally different issue if we want to refuse supporting
insane filesystems. And the answer is no. It was not my
intention to say that we do not intend to support them, when I
explained the reason why the things are as they are, which was
the original question by you.
See Robin's proposal to let us translate random names we get
back from readdir() from the filesystem using an additional
look-up table in the index extension section that stores mapping
from canonicalized form to the form that the user registered to
the index. I think that is a sane approach to tackle this issue
on insane filesystems like HFS+.
next prev parent reply other threads:[~2008-01-12 1:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-11 20:19 Re-casing directories on case-insensitive systems Kevin Ballard
2008-01-11 21:09 ` Kevin Ballard
2008-01-11 21:19 ` Kevin Ballard
2008-01-11 21:25 ` Linus Torvalds
2008-01-11 21:59 ` Robin Rosenberg
2008-01-11 21:18 ` Linus Torvalds
2008-01-11 21:29 ` Johannes Schindelin
2008-01-11 21:44 ` Kevin Ballard
2008-01-11 22:05 ` Johannes Schindelin
2008-01-11 22:08 ` Linus Torvalds
2008-01-11 23:10 ` David Kastrup
2008-01-11 23:12 ` Kevin Ballard
2008-01-11 23:26 ` Robin Rosenberg
2008-01-12 0:03 ` Kevin Ballard
2008-01-12 0:15 ` Robin Rosenberg
2008-01-12 0:25 ` Kevin Ballard
2008-01-12 0:27 ` Junio C Hamano
2008-01-12 0:40 ` Johannes Schindelin
2008-01-12 1:16 ` Kevin Ballard
2008-01-12 1:30 ` Junio C Hamano [this message]
2008-01-12 1:43 ` Kevin Ballard
2008-01-12 12:07 ` David Kastrup
2008-01-12 15:03 ` Dmitry Potapov
2008-01-12 0:37 ` Junio C Hamano
2008-01-12 0:57 ` Robin Rosenberg
2008-01-12 16:33 ` Johannes Schindelin
2008-01-12 14:46 ` Dmitry Potapov
2008-01-12 18:47 ` Linus Torvalds
2008-01-12 19:29 ` Dmitry Potapov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vprw7zv7s.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=kevin@sb.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.