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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Junio C Hamano <junkio@xxxxxxx> 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 <junkio@xxxxxxx>
> ---
> 
>  * 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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]