Re: Cross-Platform Version Control
- From
Jeff King <peff@peff.net>
- Date
- May 12, 2009, 16:16 UTC
- Message-ID
- <20090512161638.GB29566@coredump.intra.peff.net>
- In-Reply-To
- <20090512151403.GS30527@spearce.org>
On Tue, May 12, 2009 at 08:14:03AM -0700, Shawn O. Pearce wrote:
> As for file names, no plans, its a sequence of bytes, but I think a > lot of people wind up using some subset of US-ASCII for their file > names, especially if their project is going to be cross platform.
Or they use a single encoding like utf8 so that there are no surprises. You can still run into normalization problems with filenames on some filesystems, though. Linus's name_hash code sets up the framework to handle "these two names are actually equivalent", but right now I think there is just code for handling case-sensitivity, not utf8 normalization (but I just skimmed the code, so I might be wrong).
-Peff