From: Junio C Hamano Date: Fri, 29 Jan 2010 21:42:44 GMT Subject: Re: [PATCH] checkout: warn about 'branch name' rather than 'local branch' Message-ID: <7vvdekh9kb.fsf@alter.siamese.dyndns.org> In-Reply-To: <1264799342-11093-1-git-send-email-srabbelier@gmail.com> Sverre Rabbelier writes: > These days, you can say "git checkout topic" to automagically create > a local "topic" branch that forks from "origin/topic" remote tracking > branch when you have one, thanks to Dscho's UI improvement ideas. As > such it is more appropriate to say that the user is checking out > something that is not a branch name, rather than saying it is not a > 'local branch'. > > Signed-off-by: Sverre Rabbelier > --- > > Junio, I used part of your reply as the commit message, is that ok? > > Only change is s/local branch/branch name/. I explained why I think that is not solving the real problem. To a user faced with an unexpected detached HEAD situation, it is not very important to explain how we were forced to detach (i.e. because you didn't tell me to switch to a branch).