Re: Windows support
- From
Marius Storm-Olsen <marius@trolltech.com>
- Date
- Jul 26, 2007, 09:41 UTC
- Message-ID
- <46A86C42.8070103@trolltech.com>
- In-Reply-To
- <20070726065332.GB18114@spearce.org>
Show 16 quoted lines
>> * Be careful with the case in filenames. Similarly, avoid >> special chars in filenames. > > This is true. Git doesn't like getting file names with case only > differences on such a platform. E.g. just today I wanted to do the > following: > > git mv foo.c Foo.c > > but had to instead do: > > git mv foo.c CRAP && git mv CRAP Foo.c > > because the former won't work on a filesystem that ignores case. I > have the same problem on my Mac OS X HFS+ volume as it also ignores > case.
You can turn off case-insensitivity in the Windows kernel, by using RegEdit, and setting the following registry key to 0:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive
I haven't tried it, but it should help your case above. Just keep in mind that you can then check in files which your coworkers can't checkout :-)
-- .marius