Code

fetch-pack: objects in our alternates are available to us
authorJunio C Hamano <gitster@pobox.com>
Fri, 11 Mar 2011 19:53:52 +0000 (11:53 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Mar 2011 23:18:55 +0000 (16:18 -0700)
commite52d719266a06a8553043cb5616d9b4ce4abd27a
tree0837d066b8dc1b91d770bf9aa4961521e55c005c
parent36cfda15527d4eb50c84256307e3cb46578f975e
fetch-pack: objects in our alternates are available to us

Use the helper function split from the receiving end of "git push" to
allow the same optimization on the receiving end of "git fetch".

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
builtin/fetch-pack.c
t/t5501-fetch-push-alternates.sh