Re: [PATCH] Introduce <branch>@{tracked} as shortcut to the tracked branch
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 10, 2009, 10:14 UTC
- Message-ID
- <alpine.DEB.1.00.0909101211340.8306@pacific.mpi-cbg.de>
- In-Reply-To
- <4AA8CA88.9060802@drmicha.warpmail.net>
Hi,
On Thu, 10 Sep 2009, Michael J Gruber wrote:
Show 13 quoted lines
> Johannes Schindelin venit, vidit, dixit 10.09.2009 11:36:
> >
> > Often, it is quite interesting to inspect the branch tracked by a given
> > branch. This patch introduces a nice notation to get at the tracked
> > branch: '<branch>@{tracked}' can be used to access that tracked branch.
> >
> > A special shortcut '@{tracked}' refers to the branch tracked by the
> > current branch.
>
> Sorry, I didn't know the name of the long form was up for discussion.
> But it should certainly coincide with the key which for-each-ref uses,
> shouldn't it? I don't care whether tracked or upstream, but
> for-each-ref's "upstream" has set the precedent.You're right.
sed -i -e 's/@{tracked}/@{upstream}/g' -e 's/@{t}/@{u}/g' $PATCHCiao, Dscho