Shift object enumeration out of upload-pack
authorNick Edelen <sirnot@gmail.com>
Tue, 9 Jun 2009 23:50:18 +0000 (01:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Jun 2009 06:49:31 +0000 (23:49 -0700)
commitf0cea83f631689331fce73b51f22707e897f7939
tree5db00f9978cf6c5b340d8df14f48ab429e9e79a6
parentf4f78e668dd40f2d4a5bc119cccb3c34c2675c38
Shift object enumeration out of upload-pack

Offload object enumeration in upload-pack to pack-objects, but fall
back on internal revision walker for shallow interaction.   Aside from
architecturally making more sense, this also leaves the door open for
pack-objects to employ a revision cache mechanism.  Test t5530 updated
in order to explicitly check both enumeration methods.

Signed-off-by: Nick Edelen <sirnot@gmail.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5530-upload-pack-error.sh
upload-pack.c