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

Re: file name case-sensitivity issues

From
Junio C Hamano <junkio@cox.net>
Date
May 24, 2006, 01:40 UTC
Message-ID
<7vd5e4xkrh.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0605232239070.15915@dildano.hawaga.org.uk>
Ben Clifford <benc@hawaga.org.uk> writes:
Show 10 quoted lines
> $ ls
> bar
> $ git ls-files -d
> FOO
> $ git ls-tree HEAD
> 100644 blob b7d6715e2df11b9c32b2341423273c6b3ad9ae8a    FOO
> 100644 blob 5f8b81e197a2cb27816112fb5a6b86b7031ffde8    bar
>
> The checkout is losing the FOO file but the merged tree object has the 
> merged FOO in it.

That's interesting. I wonder how... Does this sequence remove FOO on that filesystem?

	$ date >FOO
        $ rm -f foo
        $ ls

Also if you do the final "git pull" using resolve strategy, does it change the result (say "git pull -s resolve . side" instead)?

Previous: Ben CliffordNext: Ben Clifford
Message 5 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.