Re: [PATCH] checkout: allow full refnames for local branches
Lars Hjemli <hjemli@gmail.com> writes:
Show 16 quoted lines
> This teaches git-checkout to strip the prefix 'refs/heads/' from the
> supplied <branch> argument, to make
>
> git-checkout refs/heads/master
>
> behave like
>
> git-checkout master
>
> The former command would detach HEAD.
>
> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
> ---
>
> 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?