Skip to content

Commit 2b970bc

Browse files
committed
Merge branch 'jk/optim-promisor-object-enumeration'
Collection of what is referenced by objects in promisor packs have been optimized to inspect these objects in the in-pack order. * jk/optim-promisor-object-enumeration: is_promisor_object(): walk promisor packs in pack-order
2 parents 5dbbdaa + 18c08ab commit 2b970bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packfile.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2275,7 +2275,8 @@ int is_promisor_object(const struct object_id *oid)
22752275
if (has_promisor_remote()) {
22762276
for_each_packed_object(add_promisor_object,
22772277
&promisor_objects,
2278-
FOR_EACH_OBJECT_PROMISOR_ONLY);
2278+
FOR_EACH_OBJECT_PROMISOR_ONLY |
2279+
FOR_EACH_OBJECT_PACK_ORDER);
22792280
}
22802281
promisor_objects_prepared = 1;
22812282
}

0 commit comments

Comments
 (0)