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

Re: Support of '^' as alias for 'HEAD^'

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:15

"Zeeshan Ali (Khattak)" [off-list ref] writes:
What about '^' and '^^' that I suggested?
quoted
quoted
While I see your "~<N>" much distasteful compared to "^", you still
s/dist/less dist/; sorry ;-)
Why?
That "^^" is the most important reason why your "^ is the same as
HEAD^" is flawed, and goes against my taste.

Think what "log ^^ origin" would mean.  Is it "log ^HEAD^ origin"?
Is it "log HEAD^^ origin"?  They mean totally different things.

Compared to that, at least ~<n> does not have such ambiguity within
the context of Git (having to quote is an ambiguity within the
context of using Git with shells that support dirstacks in their
tilde expansion).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help