author | Linus Torvalds <torvalds@osdl.org> | |
Sun, 5 Mar 2006 17:53:52 +0000 (09:53 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 5 Mar 2006 21:35:41 +0000 (13:35 -0800) | ||
commit | ea5ed3abce724725360be88663cec1add7547d46 | |
tree | 5daa32b402057832930e466334967d2b9cc4e4e9 | tree | snapshot |
parent | 872d001f7f576b2d32f6278dc265d6449787b714 | commit | diff |
get_revision(): do not dig deeper when we know we are at the end.
This resurrects the special casing for "rev-list -n 1" which
avoided reading parents unnecessarily.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This resurrects the special casing for "rev-list -n 1" which
avoided reading parents unnecessarily.
Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c | diff | blob | history |