Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Roger Pau Monné
On Tue, Sep 11, 2012 at 10:24 AM, Tomas Carnecky tomas.carne...@gmail.com wrote: On Tue, 11 Sep 2012 10:21:16 +0100, Roger Pau Monné roger@entel.upc.edu wrote: Hello, I'm using git for all my projects, and I usually work under Mac OS X with the default filesystem (that's

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Tomas Carnecky
On Tue, Sep 11, 2012 at 9:30 AM, Roger Pau Monné roger@entel.upc.edu wrote: On Tue, Sep 11, 2012 at 10:24 AM, Tomas Carnecky tomas.carne...@gmail.com wrote: On Tue, 11 Sep 2012 10:21:16 +0100, Roger Pau Monné roger@entel.upc.edu wrote: Hello, I'm using git for all my projects, and

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Roger Pau Monné
On Tue, Sep 11, 2012 at 10:36 AM, Tomas Carnecky tomas.carne...@gmail.com wrote: On Tue, Sep 11, 2012 at 9:30 AM, Roger Pau Monné roger@entel.upc.edu wrote: On Tue, Sep 11, 2012 at 10:24 AM, Tomas Carnecky tomas.carne...@gmail.com wrote: On Tue, 11 Sep 2012 10:21:16 +0100, Roger Pau Monné

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Erik Faye-Lund
On Tue, Sep 11, 2012 at 11:21 AM, Roger Pau Monné roger@entel.upc.edu wrote: Hello, I'm using git for all my projects, and I usually work under Mac OS X with the default filesystem (that's case-insensitive, but case-preserving). I'm currently working on a project that has several

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Matthieu Moy
Erik Faye-Lund kusmab...@gmail.com writes: I have stumbled upon a similar issue on Windows (which also has a case-preserving filesystem), and I seem to remember the solution being something to do with packed refs. Packed-refs use a format like this: $ tail -3 .git/packed-refs

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Erik Faye-Lund
On Tue, Sep 11, 2012 at 12:28 PM, Matthieu Moy matthieu@grenoble-inp.fr wrote: Erik Faye-Lund kusmab...@gmail.com writes: I have stumbled upon a similar issue on Windows (which also has a case-preserving filesystem), and I seem to remember the solution being something to do with packed

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Matthieu Moy
Erik Faye-Lund kusmab...@gmail.com writes: Yes, but being costly in terms of performance is IMO a lot better than corrupting refs, which is what we currently do. I'm not saying nothing should be done, but I'm not sure packed-refs are the right solution in the long term. We already have the foo

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Junio C Hamano
Roger Pau Monné roger@entel.upc.edu writes: Hello, I'm using git for all my projects, and I usually work under Mac OS X with the default filesystem (that's case-insensitive, but case-preserving). I'm currently working on a project that has several branches, and two of them are called

Re: Git an case-insensitive Mac OS X filesystem

2012-09-11 Thread Junio C Hamano
Roger Pau Monné roger@entel.upc.edu writes: I understood this, it's just that I would prefer to avoid doing this kind if things, I would prefer to be able to work natively on my filesystem, but it seems like there's no other option. If you are unwilling to keep both lowercase and