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

remove broken refloc

From
TRTobias Richter <tsr-git@achos.com>
Date
Oct 22, 2009, 16:57 UTC
Message-ID
<20091022165715.GE30266@cave.achos.com>
Hi,
>From using git-svn I've imported a (git-wise) broken reference. This isn't 

a huge problem, as I don't need that ref anyway. But 'git gc' no longer works and that results in frequent errors when updating:

$ git gc error: cannot lock ref 'refs/remotes/release_7.5.' error: failed to run reflog

As far as I understand I could expire that ref, but that fails as well:

$ git reflog expire --expire=0 --all error: cannot lock ref 'refs/remotes/release_7.5.'

Is there a way to forcefully remove that broken ref?

Then I may be able to stop git-svn from re-importing that using the config, I hope.

Thanks,
Tobias
Message 1 of 1 in “remove broken refloc”
  1. Tobias RichterOct 22, 2009

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.