Re: [PATCH v4] Introduce %<branch> as shortcut to the tracked branch
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Mar 20, 2009, 23:20 UTC
- Message-ID
- <fabb9a1e0903201620l456bfc39n2422dcb1e738eb37@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.2.00.0903202300330.13726@reaper.quantumfyre.co.uk>
Heya,
On Sat, Mar 21, 2009 at 00:08, Julian Phillips <julian@quantumfyre.co.uk> wrote:
> git branch -m "'%master" percent-master
Which kinda defeats the purpose of having a short-and-easy-to-write refname, no? "'%master" is not that easy to type, I at least get my fingers mixed up in the "'% sequence. Perhaps we should reserve these special characters now, and deprecate their use? Junio seemed to be open to that (quoted below)...
> Just be honest and say "You may have a branch whose name begins with a '%' > and you cannot refer to it anymore in certain contexts. Too bad. Don't > do it next time you create a new branch". I _can_ buy that argument.
-- Cheers, Sverre Rabbelier