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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wincent Colaiuta <win@xxxxxxxxxxx> writes:

> If this is really just a platform-specific hack, can we use platform- 
> specific code to do the normalization?

Unfortunately, I do not think this can be a platform-specific
hack.

If a project wants to be usable on both sane and insane
filesystems, people on platforms whose filesystems treat "foo"
and "Foo" as two distinct pathnames (and "Ma<UMLAUT>rchen" and
"M<A-with-UMLAUT>rchen" as two distinct ones) need to be
prevented from creating both in their tree objects at the same
time.  Once you create two pathnames xt_connmark.c and
xt_CONNMARK.c in the same tree object in your project, people on
case insensitive filesystems cannot work with your project (you
cannot check out the kernel source tree and work on it on vfat).

This is exactly the same logic as making autocrlf=safe (or at
least 'input') the default for projects that people need to work
both on UNIX and Windows, which Steffen Prohaska has been
adovocating in another thread.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux