remove broken refloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]