Re: [PATCH 1/2] init-db.c: honor case on case preserving fs

2014-02-02 Thread Junio C Hamano
Torsten Bögershausen writes: > On 2014-02-01 10.14, Reuben Hawkins wrote: >> Most case-insensitive filesystems are case-preserving. In these >> filesystems (such as HFS+ on OS X) you can name a file Filename.txt, >> then rename the file to FileName.txt. That file will be accessible >> by both fi

Re: [PATCH 1/2] init-db.c: honor case on case preserving fs

2014-02-01 Thread Dmitry Potapov
On 2/2/14, Reuben Hawkins wrote: >> > This is a separate issue which core.ignorecase is sweeping under the rug. > When you get this error message, do an 'ls' and you'll see there isn't an > untracked file called 'FileName.txt'. There is, however, a tracked file > called 'Filename.txt'. Because

Re: [PATCH 1/2] init-db.c: honor case on case preserving fs

2014-02-01 Thread Dmitry Potapov
On Sat, Feb 1, 2014 at 1:14 PM, Reuben Hawkins wrote: > Most case-insensitive filesystems are case-preserving. In these > filesystems (such as HFS+ on OS X) you can name a file Filename.txt, > then rename the file to FileName.txt. That file will be accessible > by both filenames, but the case is

Re: [PATCH 1/2] init-db.c: honor case on case preserving fs

2014-02-01 Thread Torsten Bögershausen
On 2014-02-01 10.14, Reuben Hawkins wrote: > Most case-insensitive filesystems are case-preserving. In these > filesystems (such as HFS+ on OS X) you can name a file Filename.txt, > then rename the file to FileName.txt. That file will be accessible > by both filenames, but the case is otherwise ho

[PATCH 1/2] init-db.c: honor case on case preserving fs

2014-02-01 Thread Reuben Hawkins
Most case-insensitive filesystems are case-preserving. In these filesystems (such as HFS+ on OS X) you can name a file Filename.txt, then rename the file to FileName.txt. That file will be accessible by both filenames, but the case is otherwise honored. We don't want to have git ignore case on th