Code

everything_local(): mark alternate refs as complete
authorMichael Haggerty <mhagger@alum.mit.edu>
Sat, 11 Feb 2012 06:20:59 +0000 (07:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Feb 2012 03:50:39 +0000 (19:50 -0800)
commitf2576591320f6296d341fa14bd50ba6918ced864
treeb8a31c1b180a9b3fcf7b85f888597f10bef5ed11
parentc41a802fe9593db67f458bde9f15f51fdf3f4f1a
everything_local(): mark alternate refs as complete

Objects in an alternate object database are already available to the
local repository and therefore don't need to be fetched.  So mark them
as complete in everything_local().

This fixes a test in t5700.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch-pack.c
t/t5700-clone-reference.sh