@matheusbsbs / matheus-bagliano / commits / c6702f4b95
Fork 0

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?

Junio C Hamano committed Nov 13, 2006 at 22:47 UTC c6702f4b95699c6bd47337516c32e3408dda0595
1 file changed +1
upload-pack.c
+1
@@ -138,6 +138,7 @@ static void create_pack_file(void)
138 } else {
139 for (i = 0; i < want_obj.nr; i++) {
140 struct object *o = want_obj.objects[i].item;
141 + /* why??? */
142 o->flags &= ~UNINTERESTING;
143 add_pending_object(&revs, o, NULL);
144 }