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]

 



Reece Dunn wrote:
Hi,

Running the following:

    echo "hello" > foo
    git add foo && git commit -m "move test (1)"
    git mv foo Foo

using a case-insensitive filesystem (this was done running git 1.5.0.3
and git 1.5.1.3 on Windows using cygwin), I get the following error:

    fatal: destination exists, source=foo, destination=Foo

Are there any plans to support this on case-insensitive filesystems,
or is it going to remain broken?


It's going to remain in the state it is, although I disagree that that
state is broken. Adding case-sensitivity to a content tracker on a
case-insensitive file system would be quite a lot of work for a very
small gain.

As usual, should you present some small and elegant piece of code that
makes git capable of dealing with this while running with no slowdown
at all on sane systems, I'm sure it'd be accepted, or at least very
thoroughly discussed by the heavy names on the list.

Without the code, it's just an ugly can of worms that nobody wants to
open.

--
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