git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: file name case-sensitivity issues

From
CFChristopher Faylor <me@cgf.cx>
Date
May 26, 2006, 03:59 UTC
Message-ID
<20060526035925.GA17618@trixie.casa.cgf.cx>
In-Reply-To
<7vac96ufxv.fsf@assigned-by-dhcp.cox.net>
On Thu, May 25, 2006 at 11:17:48AM -0700, Junio C Hamano wrote:
>I have git installed on a Cygwin on NTFS at work...

Maybe this has been mentioned already but I wanted to point out that Cygwin's mount has a "managed" option: "mount -o managed c:/foo /foo" which causes cygwin to encode "problem" characters into the filename.

This means that there is a possibility that you'll run into the Windows 260 character max filename limit sooner so many people don't like to use this option. However, since only uppercase characters and characters like ">", ":", etc. are encoded, in practice you wouldn't see path length problems *from this* very often. There is, of course, some processing overhead involved in this, too, so using managed mode will slow things down slightly.

We've been contemplating using Unicode functions in cygwin for a while since those allow much longer path lengths but this is a massive change and would potentially cause problems on Windows 9x. There has also been some discussion of using native NT calls which, I believe, allow case preservation like linux. However, those have a similar set of problems.

FYI, cgf

Previous: Junio C Hamano
Message 10 of 10 in “file name case-sensitivity issues”
  1. Alex RiesenMay 23, 2006
  2. Linus TorvaldsMay 23, 2006
  3. Linus TorvaldsMay 23, 2006
  4. Ben CliffordMay 23, 2006
  5. Junio C HamanoMay 24, 2006
  6. Ben CliffordMay 24, 2006
  7. Junio C HamanoMay 23, 2006
  8. Alex RiesenMay 25, 2006
  9. Junio C HamanoMay 25, 2006
  10. Christopher FaylorMay 26, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.