Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

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

From: Jeff King <hidden>
Date: 2016-06-15 22:46:26

On Fri, Mar 20, 2009 at 08:28:28PM +0000, Julian Phillips wrote:
quoted
I think that is quite clever and doesn't have any meaning for a revision
specifier already. I like it.
I considered suggesting this earlier, but didn't as the behaviour is not  
consistent.  If you have a user named master then you have to type  
'~master' (including quotes), if you don't you can type ~master, and you  
always have to type '~' instead of ~.  I didn't particularly fancy typing  
all those quotes, and certainly not explaining the behaviour to people not 
overly familiar with unix shell behaviour.
Oh, good point. I wasn't thinking it through. My initial thought was
that there is no problem conflicting with a file ~master/foo, since you
generally don't want to use absolute paths that are likely outside your
git repository. But of course the shell doesn't know this and will screw
you, which I failed to consider.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help