Git development
 help / color / mirror / Atom feed
* Cygwin: problem with renaming and case
@ 2008-03-21 16:07 Frank
  2008-03-21 17:46 ` Linus Torvalds
  2008-03-21 18:57 ` Dmitry Potapov
  0 siblings, 2 replies; 11+ messages in thread
From: Frank @ 2008-03-21 16:07 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-03-22 20:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 16:07 Cygwin: problem with renaming and case Frank
2008-03-21 17:46 ` Linus Torvalds
2008-03-21 17:57   ` Avery Pennarun
2008-03-21 18:09     ` Linus Torvalds
2008-03-22  0:32       ` Junio C Hamano
2008-03-22 13:45         ` Steffen Prohaska
2008-03-21 18:57 ` Dmitry Potapov
2008-03-21 19:37   ` streamlake
2008-03-21 19:54     ` Brian Dessent
2008-03-22 19:58   ` Nagy Balázs
2008-03-22 20:18     ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox