From: Sverre Rabbelier Date: Sun, 18 Sep 2011 21:38:07 GMT Subject: Re: Branch deletion (Re: [RFC] fast-import: note deletion command) Message-ID: In-Reply-To: <20110918211836.GI2308@elie> Heya, On Sun, Sep 18, 2011 at 23:18, Jonathan Nieder wrote: > In the case of remote helpers, IIRC there was already a need for > the transport-helper to handle the final ref updates so "git fetch" > can write a nice notice about them to the console. That book-keeping is trivial to do. The problem currently is that when you try to "git push origin :experimental-branch", there is no way for the transport-helper code to tell the helper to delete the ref. Something like 'deleteref' sounds sane I suppose, and I agree that there should be some sort of safety switch :). I think we need a new feature announcing that we require support for it, and then the importer can abort right away if the user doesn't want to have their refs deleted. -- Cheers, Sverre Rabbelier