From: Thomas Rast Date: Tue, 13 Oct 2009 06:36:53 GMT Subject: Re: [PATCH/RFC] builtin-checkout: suggest creating local branch when appropriate to do so Message-ID: <200910130836.57011.trast@student.ethz.ch> In-Reply-To: <7vr5t89qiw.fsf@alter.siamese.dyndns.org> Junio C Hamano wrote: > Thomas Rast writes: > > > Your idea is also a backwards incompatible change, so we can just as > > well implement the original suggestion and force scripts (or us) to > > use some other means when they want to detach. Say, why not just > > invent an option along the lines of > > > > git checkout {-d|--detach} $ref > > > > to make it explicit. > > Or can't you go the other way, say > > git checkout -t $remote_tracking > > to create a local branch forking from the named remote tracking branch? Sure, but we already have that and we still failed to fix the users, so FWIW, I think Dscho's right and we should try fixing the UI next. [I've also seen several users shoot themselves with detached HEADs to the point where I explain the concept before even mentioning checkout.] -- Thomas Rast trast@{inf,student}.ethz.ch