Re: git: cannot rename foo to Foo on a case-insensitive filesystem (e.g. on Windows)

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

 



David Kastrup wrote:
Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:

On Tue, 28 Aug 2007, Wincent Colaiuta wrote:

Personally, I don't like HFS+ much at all, but your statement that Mac OS X "doesn't even have a case sensitive filesystem" is false.
It is right that they support it. But since the _default_ is case insensitive (but only as long as it is not _reporting_ file names), it is _as bad_ as "doesn't even have a case sensitive filesystem". No sophistry helps here.

Linux has case insensitive file systems as well: vfat, smbfs and
possibly some others.  If one can manage to come up with a way that
deals gracefully with it (and not conditioned on the operating
system), that's not just a boon on Windows.


It needs to be dealt with either in the filesystem implementation (kernel
level), or in the library providing the interface to the kernel calls.
If it's done in the application, code duplication will be ridiculous,
and application behaviour will be inconsistent.

If it's done in the library, there'll possibly be an extra cmp+branch
each time someone tries to move a file to a destination that already
exists. It doesn't happen *that* often, so the extra overhead might
be acceptable.

The kernel is kinda equivalent to the library, except it will only
have the extra cmp+branch for bizarre filesystems.

--
Andreas Ericsson                   andreas.ericsson@xxxxxx
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
-
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