Thread (10 messages) flat view 10 messages, 6 authors, 2016-06-15

Re: [PATCH v4] Introduce %<branch> as shortcut to the tracked branch

From: Julian Phillips <hidden>
Date: 2016-06-15 22:46:26

On Sat, 21 Mar 2009, Sverre Rabbelier wrote:
Heya,

On Sat, Mar 21, 2009 at 00:08, Julian Phillips [off-list ref] wrote:
quoted
 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)...
But it's not supposed to be easy to type ...

To use the new syntax you type %master only.  What I was proposing was a 
way to get at the branch that you had before the wizzy new feature was 
added.  Something you only do once to rename it - why waste an easy to 
type sequence on that?

I agree that adding some more reserved characters is a reasonable way 
forward - but I think a way should be provided for people who are 
_already_ using those characters to rename their branches to something that 
avoids those characters in a simple (but not necessarily easy to type) 
way.

-- 
Julian

  ---
panic("%s: CORRUPTED BTREE OR SOMETHING", __FUNCTION__);
         linux-2.6.6/fs/xfs/xfs_bmap.c
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help