From: Junio C Hamano Date: Tue, 14 Nov 2006 06:47:45 +0000 (-0800) Subject: Why didn't we mark want_obj as ~UNINTERESTING in the old code? X-Git-Tag: v1.5.0-rc1~172^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c6702f4b95699c6bd47337516c32e3408dda0595;p=git.git Why didn't we mark want_obj as ~UNINTERESTING in the old code? Is this something we would want to do regardless of shallow clone? --- diff --git a/upload-pack.c b/upload-pack.c index 4a9d6720a..7e3c437d8 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -138,6 +138,7 @@ static void create_pack_file(void) } else { for (i = 0; i < want_obj.nr; i++) { struct object *o = want_obj.objects[i].item; + /* why??? */ o->flags &= ~UNINTERESTING; add_pending_object(&revs, o, NULL); }