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

Re: [PATCH] Add new @ shortcut for HEAD

From: Ramkumar Ramachandra <hidden>
Date: 2016-06-15 22:57:04

Duy Nguyen wrote:
Habits aside, why do you do H@{u} when @{u} is enough (and shorter)?
I don't.  In the @{} spec, HEAD is implicit.  My initial itch was that
HEAD is not implicit in the ~<n> spec, and started off by thinking how
we could make HEAD implicit specifically for that case [1].  Since
then, we've realized that it's probably easier (and more useful) to
have a synonym for HEAD that works in all specs.  As a side effect,
master..@ will work too.  I was looking into the repercussions of
this, and noticed that Michael's @ symref is not equivalent to my H
symref.  I previously thought that all symrefs would behave in exactly
the same manner, but @ clearly seems to be a special case: I was
merely pointing this out with an example.

[1]: http://article.gmane.org/gmane.comp.version-control.git/222343
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help