git checkout problem

Whitman, Steve SteveW@cognex.com
Thu May 14 19:41:00 GMT 2009


> I've been using git for a few weeks now and recently ran into a
problem
> that I just can't workaround.  I tried updating to the cygwin 1.7
> release hoping that this would fix the issue but it didn't.  I found
> that a checkout of a branch "new_file_system" from the master branch
(or
> vice versa) would result an error that a file can't be unlinked. Below
> is the sequence of git commands that I run that cause the problem.
This
> is the exact sequence of commands that I run:

I've performed some additional experiments and I'm starting to believe
this is probably not an issue with cygwin (it might be a git on Windows
issue).  I installed the latest version of msysgit (1.6.3.msysgit.0) and
found that I was still having the problem described above.

I'm running Windows Vista w/SP1 with UAC enabled.  I found that if I
turn off UAC the problem went away.  Turn UAC on and the problem
re-appears.  I then tried running bash as an admin and that also seems
to resolve the issue.  Finally I modified the properties of the bash
executable to run in Windows XP w/SP2 compatibility mode and that also
seems to resolve this problem even with UAC enabled and running without
admin privileges.  I'll continue to do some more testing but it appears
that I have a reasonable workaround for this issue.

 - Steve -


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list