git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Nicolas Bock <nbock@lanl.gov>
Date
Jun 17, 2008, 01:47 UTC
Message-ID
<1213667245.14393.3.camel@localhost>
In-Reply-To
<1213635227.17814.6.camel@localhost>

I realized that I recently upgraded from version 1.5.3.7 to 1.5.4.5. I double checked and downgraded again, and yes, I don't have any problems running "git gc" with the older version, but I get the below error message with the newer version of git.

nick
On Mon, 2008-06-16 at 10:53 -0600, Nicolas Bock wrote:
Show 20 quoted lines
> 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
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Nicolas BockNext: Johannes Schindelin
Message 2 of 9 in “error: cannot lock ref 'refs/remotes/origin/*'”
  1. Nicolas BockJun 16, 2008
  2. Nicolas BockJun 17, 2008
  3. Johannes SchindelinJun 17, 2008
  4. Nicolas BockJun 17, 2008
  5. Johan HerlandJun 17, 2008
  6. Nicolas BockJun 17, 2008
  7. Jakub NarebskiJun 17, 2008
  8. Nicolas BockJun 17, 2008
  9. Johannes SchindelinJun 17, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.