On Fri, 22 Feb 2013 00:35:18 -0800 (PST)
Ralf Kaiser <kai...@cpa.de> wrote:
> 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 <repository>/.git/.HEAD.lock to
> <repository>/.git/.HEAD - Retry (y/n)".
> At that time the build process hangs because there is nobody that can
> answer that question :-(
> The cloning of the repositories works in 9 of 10 cases without that
> Any hints what causes that message? (it is an absolute no-go inside a
> script - an error code would be OK but asking the user is absolutely
> not OK!)
Are you sure there's no antivirus software working in the background?
I also managed to google  this bug report  -- do you have
TortoiseGit installed on your build box?
In either case, as it was already suggested by Thomas, this question is
Windows-specific so if you won't be able to find a solution try posting
to the msysgit mailing list .
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.