From: Felipe Contreras Date: Thu, 12 Mar 2009 09:02:08 GMT Subject: Re: Deleting remote branch pointed by remote HEAD Message-ID: <94a0d4530903120202w22f1f8ecwc6b4d22652afc427@mail.gmail.com> In-Reply-To: <20090121195348.GB3589@sigill.intra.peff.net> On Wed, Jan 21, 2009 at 9:53 PM, Jeff King wrote: > On Wed, Jan 21, 2009 at 02:50:40PM -0500, Daniel Barkalow wrote: > >> I think the ideal thing is to keep the symref as a reminder and just give >> a non-confusing error message instead of a confusing one. E.g.: >> >> """ >> $foo is set to mean the tracking branch $foo/bar, which does not exist. >> Use: >> >>   git remote set-default $foo >> >> to set a new default branch for $foo. >> """ >> >> (And, of course, add that subcommand to remote) > > I think that would be reasonable behavior (and probably a special mode > for set-default to just update from the remote's idea of HEAD). Nobody is working on this, right? -- Felipe Contreras