On Saturday, April 18, 2015 at 1:04:19 AM UTC+2, todd freed wrote: > > Hi, I am unable to reset my working copy changes. > > I have two files in this project which differ only in their case: > listwise/liblistwise/op/c/c.c > listwise/lblistwise/op/C/C.c > > It appears that git is being confused by the similar file names. > > Is this a bug? > > todd@HOSSBEAST /q/Code/fab (master) > $ git version > git version 1.9.5.msysgit.1 > > > I'm assuming you're on Windows since you use a Git built with msysgit.
Windows does not have a case-sensitive file-system. This means that once a file comes out of your repository with name 'c', it will overwrite any file with the name 'C'. A quick googling turned out that there are ways to make this work on Windows as long as you're inside cygwin at least: http://superuser.com/questions/266110/how-do-you-make-windows-7-fully-case-sensitive-with-respect-to-the-filesystem But it seems non-trivial, and the solution does not work outside the shell. I guess you're better off using another OS, or at least a virtual machine to work on this particular repository. If you are in control of this repository, I would heavily recommend changing some naming conventions. Having multiple files with the same name is asking for trouble and confusion. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.