From 0d62fb5672c7b6e3fc6c5418d61ff39bf6034741 Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Thu, 11 Aug 2005 23:17:55 -0400 Subject: [PATCH] [PATCH] Also parse objects we already have In the case where we don't know from context what type an object is, but we don't have to fetch it, we need to parse it to determine the type before processing it. Signed-off-by: Daniel Barkalow Signed-off-by: Junio C Hamano --- pull.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pull.c b/pull.c index cf3ec7384..e7bf83bb0 100644 --- a/pull.c +++ b/pull.c @@ -127,6 +127,7 @@ static int process(unsigned char *sha1, const char *type) { struct object *obj = lookup_object_type(sha1, type); if (has_sha1_file(sha1)) { + parse_object(sha1); /* We already have it, so we should scan it now. */ return process_object(obj); } -- 2.26.2