[git-users] Unable to rename .git/HEAD.lock

2013-02-22 Thread Ralf Kaiser
Hello, we are using GIT (V1.8.1) in our build process inside a MSBuild script on Windows. When clone our main repositories to the build machine we sometimes get the message "Unable to rename /.git/.HEAD.lock to /.git/.HEAD - Retry (y/n)". At that time the build process hangs because there is

[git-users] Re: Unable to rename .git/HEAD.lock

2013-02-22 Thread Ralf Kaiser
To be a little clearer: There is an *empty* directory and in that directory we are cloning our repository when we get that message. No other processes are involved, the target directory ist created just before the cloning (two lines above in the build script) and then the "git clone" is execute