From: Junio C Hamano Date: Wed, 09 May 2007 08:48:57 GMT Subject: Re: [PATCH] checkout: allow full refnames for local branches Message-ID: <7v7iriwfeu.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <11787000032830-git-send-email-hjemli@gmail.com> Lars Hjemli writes: > This teaches git-checkout to strip the prefix 'refs/heads/' from the > supplied argument, to make > > git-checkout refs/heads/master > > behave like > > git-checkout master > > The former command would detach HEAD. > > Signed-off-by: Lars Hjemli > --- > > I'm undecided on wheter this is a bugfix or a new feature. It certainly > introduces new behaviour, but it passes all the tests. Why is this necessary, may I ask?