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

windows git problem

From
Lluis <luis@tandvsolns.co.uk>
Date
Sep 12, 2011, 17:35 UTC
Message-ID
<4E6E42CE.80405@tandvsolns.co.uk>
Hi Guys,
I recently run into a funny git situation.

I had a directory under git control named "someName", with a bunch of files inside. This was committed and working for some time. I then added a file name "somename", and under linux, that worked OK. However when I checked out the project under windows (either clone or pull) one or the other would disappear and it would be staged as removed.

The surprising bit for me was not so much that windows could not cope with the case sensitivity, but that git would stage the changes!

I have attached a new git project with the problem that should help show the issue. If you clone from this repo on a windows box you should be able to see it

BTW, I'm using git v 1.7.4.1
-- 
Luis Gutierrez
Test and Verification Solutions (TVS)
skype: luis.tandv
Next: Michael Witten
Message 1 of 5 in “windows git problem”
  1. luisSep 12, 2011
  2. Michael WittenSep 12, 2011
  3. luisSep 12, 2011
  4. Nguyen Thai Ngoc DuySep 13, 2011
  5. Nguyen Thai Ngoc DuySep 13, 2011

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.