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

Cygwin: problem with renaming and case

From
FFrank <streamlake@tiscali.it>
Date
Mar 21, 2008, 16:07 UTC
Message-ID
<47E3DD28.4030302@tiscali.it>

Hi, Don't know exactly if this is a bug or a feature or something in the middle, but I have a lot of problems while changing just the casing of file names and using git mv und cygwin. Here's a test case:

mkdir testrename cd testrename git init echo "AAA" >aaa.txt echo "BBB" >bbb.txt git add aaa.txt git add bbb.txt git commit -m "First commit" git checkout -b new_branch git mv aaa.txt ccc.txt git commit -a -m "Moved file" echo "NEW AAA" >Aaa.txt git add Aaa.txt git commit -m "Added Aaa" #aaa.txt exists in master, Aaa.txt in new_branch git checkout master

Last command gives: "fatal: Untracked working tree file 'aaa.txt' would be overwritten by merge". I know I can use git checkout -f but the problem returns while others do merging/pulling from my repo, etc. Thanks, Frank

Next: Linus Torvalds
Message 1 of 11 in “Cygwin: problem with renaming and case”
  1. FrankMar 21, 2008
  2. Linus TorvaldsMar 21, 2008
  3. Avery PennarunMar 21, 2008
  4. Linus TorvaldsMar 21, 2008
  5. Junio C HamanoMar 22, 2008
  6. Steffen ProhaskaMar 22, 2008
  7. Dmitry PotapovMar 21, 2008
  8. streamlake@tiscali.itMar 21, 2008
  9. Brian DessentMar 21, 2008
  10. Nagy BalázsMar 22, 2008
  11. Linus TorvaldsMar 22, 2008

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.