Code

pack-objects: optimize preferred base handling a bit
authorNicolas Pitre <nico@cam.org>
Mon, 16 Apr 2007 16:28:10 +0000 (12:28 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 17 Apr 2007 00:43:30 +0000 (17:43 -0700)
commit8a5a8d6c97e36dbd95361eab1109e4380fe45df4
tree139d0d16dcbaa80339917d73b00f3549be86c242
parent29b734e4788143603adf8046174219bac67794e0
pack-objects: optimize preferred base handling a bit

Let's avoid some cycles when there is no base to test against, and avoid
unnecessary object lookups.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c