author | Nick Edelen <sirnot@gmail.com> | |
Tue, 9 Jun 2009 23:50:18 +0000 (01:50 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 10 Jun 2009 06:49:31 +0000 (23:49 -0700) | ||
commit | f0cea83f631689331fce73b51f22707e897f7939 | |
tree | 5db00f9978cf6c5b340d8df14f48ab429e9e79a6 | tree | snapshot |
parent | f4f78e668dd40f2d4a5bc119cccb3c34c2675c38 | commit | diff |
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>
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 | diff | blob | history | |
upload-pack.c | diff | blob | history |