ref-log: allow ref@{count} syntax.
commitab2a1a32ffa5a39aaf4204bd717562bce49e0a36
authorJunio C Hamano <junkio@cox.net>
Fri, 6 Oct 2006 06:16:15 +0000 (5 23:16 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 6 Oct 2006 06:17:11 +0000 (5 23:17 -0700)
tree21b6b7f63d6e74f023df5d338282b0a75df55c35
parent422b4a0e03658d0933a7abc149f175735ea9c4b5
ref-log: allow ref@{count} syntax.

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@cox.net>
refs.c
refs.h
sha1_name.c