aboutsummaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-03-05 09:53:52 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-05 13:35:41 -0800
commitea5ed3abce724725360be88663cec1add7547d46 (patch)
tree5daa32b402057832930e466334967d2b9cc4e4e9 /git.c
parent872d001f7f576b2d32f6278dc265d6449787b714 (diff)
downloadgit-ea5ed3abce724725360be88663cec1add7547d46.tar.gz
git-ea5ed3abce724725360be88663cec1add7547d46.tar.xz
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>
Diffstat (limited to 'git.c')
0 files changed, 0 insertions, 0 deletions