{"thread":{"id":"21326","subject":"remove broken refloc","startedAt":"2009-10-22T16:57:15Z","lastAt":"2009-10-22T16:57:15Z","messageCount":1,"participants":["Tobias Richter"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"125715","messageId":"20091022165715.GE30266@cave.achos.com","threadId":"21326","inReplyTo":null,"subject":"remove broken refloc","fromName":"Tobias Richter","fromEmail":"tsr-git@achos.com","sentAt":"2009-10-22T16:57:15Z","receivedAt":"2009-10-22T16:57:15Z","isPatch":false,"sender":{"key":"tsr-git@achos.com","avatar":null},"body":"Hi,\n\n>From using git-svn I've imported a (git-wise) broken reference. This isn't \na huge problem, as I don't need that ref anyway. But 'git gc' no longer\nworks and that results in frequent errors when updating:\n\n$ git gc\nerror: cannot lock ref 'refs/remotes/release_7.5.'\nerror: failed to run reflog\n\nAs far as I understand I could expire that ref, but that fails as well:\n\n$ git reflog expire --expire=0 --all\nerror: cannot lock ref 'refs/remotes/release_7.5.'\n\nIs there a way to forcefully remove that broken ref?\n\nThen I may be able to stop git-svn from re-importing that using the config,\nI hope.\n\nThanks,\n\nTobias\n"}]}