From: Max Kirillov Date: Fri, 18 Jul 2014 14:13:29 GMT Subject: Re: [PATCH] checkout: indicate when a detached head is checked out for a branch Message-ID: In-Reply-To: <53C920D6.80104@drmicha.warpmail.net> Hi. On Fri, Jul 18, 2014 at 4:27 PM, Michael J Gruber wrote: > Duy Nguyen venit, vidit, dixit 18.07.2014 12:58: >> This is what this series needs, user's opinions (bad or good). Actually, if options "-b branch" works with the "--to" (does it?), then user probably shouldn't need to create detached checkouts (I need them only for scripts), so this action is probably a mistake. And when user does want to create detached checkout he can use the "--detach" option. So I would say checkout of already checked out branch should fail, suggesting using "-b" or "--detach" options. -- Max