Code

Why didn't we mark want_obj as ~UNINTERESTING in the old code?
authorJunio C Hamano <junkio@cox.net>
Tue, 14 Nov 2006 06:47:45 +0000 (22:47 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Nov 2006 23:42:49 +0000 (15:42 -0800)
Is this something we would want to do regardless of shallow clone?

upload-pack.c

index 4a9d6720a5a0e9977bd9346e649666ead4e18fe4..7e3c437d8e1eaca61ccabb29f3097ba9c5c3732e 100644 (file)
@@ -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);
                        }