From: Julian Phillips Date: Fri, 20 Mar 2009 23:41:04 GMT Subject: Re: [PATCH v4] Introduce % as shortcut to the tracked branch Message-ID: In-Reply-To: On Sat, 21 Mar 2009, Sverre Rabbelier wrote: > Heya, > > On Sat, Mar 21, 2009 at 00:08, Julian Phillips 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)... 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