git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Richter <tsr-git@achos.com>
To: git@vger.kernel.org
Subject: remove broken refloc
Date: Thu, 22 Oct 2009 17:57:15 +0100	[thread overview]
Message-ID: <20091022165715.GE30266@cave.achos.com> (raw)

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

                 reply	other threads:[~2009-10-22 17:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091022165715.GE30266@cave.achos.com \
    --to=tsr-git@achos.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).