From: Junio C Hamano Date: Fri, 19 Aug 2011 18:03:05 GMT Subject: Re: [PATCH] branch.c: use the parsed branch name Message-ID: <7vwre92s9y.fsf@alter.siamese.dyndns.org> In-Reply-To: <8258e2fc0a61642053e285c4f498e7cf1d2dc7df.1313754086.git.git@drmicha.warpmail.net> Michael J Gruber writes: > 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 Thanks.