From: Shawn Pearce Date: Fri, 06 Oct 2006 16:05:21 GMT Subject: Re: [PATCH] ref-log: allow ref@{count} syntax. Message-ID: <20061006160521.GA20024@spearce.org> In-Reply-To: <7vsli20y1c.fsf@assigned-by-dhcp.cox.net> Junio C Hamano 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 > --- > > * 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.