Re: [PATCH] branch.c: use the parsed branch name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 19, 2011, 18:03 UTC
- Message-ID
- <7vwre92s9y.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <8258e2fc0a61642053e285c4f498e7cf1d2dc7df.1313754086.git.git@drmicha.warpmail.net>
Michael J Gruber <git@drmicha.warpmail.net> writes:
Show 9 quoted lines
> When setting up tracking info, branch.c uses the given branch specifier
> ("name"). Use the parsed name ("ref.buf") instead so that
>
> git branch --set-upstream @{-1} foo
>
> sets up tracking info for the previous branch rather than for a branch
> named "@{-1}".
>
> Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>Thanks.