Subject: error: cannot lock ref 'refs/remotes/origin/*'

From: Nicolas Bock <[email-masked]>
Date: Mon, 16 Jun 2008 10:53:47 -0600

Hello list,

when running "git gc" I get the following error message as of late:

$ git gc
error: cannot lock ref 'refs/remotes/origin/*'
error: failed to run reflog

When I rsync the directory tree to another machine, I can run "git gc"
without any error messages. What exactly does this error mean? Why would
locking fail?

Thanks already,

nick