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

Re: [PATCH] ref-log: allow ref@{count} syntax.

From: Shawn Pearce <hidden>
Date: 2016-06-15 22:42:42

Junio C Hamano [off-list ref] wrote:
Often I find myself wanting to say 'tip of "next" before I
merged the last three topics'.  Now I can say that with:

	git log next@{3}..next

Since small integers alone are invalid input strings to
approxidate, there is no fear of confusion.

Signed-off-by: Junio C Hamano <redacted>
---

 * The implementation is rather hacky but I think this is
   mildly useful.  Likes, dislikes?
Ack'd.

Its a useful feature. Something I've been wanting myself for
some time.  I usually just guess with '@{5.minutes.ago}' or some
nonsense until I find the right time.  But since I know it was X
operations ago, '@{X}' will be very handy.  Thanks!

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