From: Jonathan Nieder Date: Wed, 11 Dec 2013 19:12:07 GMT Subject: Re: [Question] Git recovery with HEAD commit broken Message-ID: <20131211191207.GL2311@google.com> In-Reply-To: <20131211161407.GA15939@kitenet.net> Joey Hess wrote: > [2] A particularly annoying one is that git branch -d cannot be used > to remove a branch that is directly pointing to a corrupted commit! It's generally considered okay for everyday commands like "git branch -d" not to cope well with corrupted repositories, but we try to keep plumbing like "git update-ref -d" working to give people a way out. Is update-ref -d broken in this situation, too? Curious, Jonathan