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?
This commit is contained in:
parent
fcd1e31906
commit
c6702f4b95
@ -138,6 +138,7 @@ static void create_pack_file(void)
|
|||||||
} else {
|
} else {
|
||||||
for (i = 0; i < want_obj.nr; i++) {
|
for (i = 0; i < want_obj.nr; i++) {
|
||||||
struct object *o = want_obj.objects[i].item;
|
struct object *o = want_obj.objects[i].item;
|
||||||
|
/* why??? */
|
||||||
o->flags &= ~UNINTERESTING;
|
o->flags &= ~UNINTERESTING;
|
||||||
add_pending_object(&revs, o, NULL);
|
add_pending_object(&revs, o, NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user