Re: git on MacOSX and files with decomposed utf-8 file names
- From
Pedro Melo <melo@simplicidade.org>
- Date
- Jan 17, 2008, 00:45 UTC
- Message-ID
- <A61EFF37-A235-49C3-8F1F-64B4FB26D10B@simplicidade.org>
- In-Reply-To
- <alpine.LSU.1.00.0801170034300.17650@racer.site>
On Jan 17, 2008, at 12:35 AM, Johannes Schindelin wrote:
Show 11 quoted lines
> On Thu, 17 Jan 2008, Pedro Melo wrote: > >> The content of the file is sacred, we both agree on that. We >> disagree on >> the filename, because for me it's more important that equal strings, >> even if encoded to different byte sequences, should be treated as the >> same file. > > Why should the filename be _stored_ normalised? I agree on the > lookup, > yes, but not the storage.
Personally I don't care how you store it. It's an implementation detail, and you should choose the best one for your use cases. If that means that you store the original version and a normalized version just for lookups, fine.
What I think its important is that if two users use different encodings for the same string in a filename, git should treat that as the same file.
Best regards,
-- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: melo@simplicidade.org Use XMPP!