зеркало из https://github.com/microsoft/git.git
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
This commit is contained in:
Коммит
2b970bc09f
|
@ -2275,7 +2275,8 @@ int is_promisor_object(const struct object_id *oid)
|
|||
if (has_promisor_remote()) {
|
||||
for_each_packed_object(add_promisor_object,
|
||||
&promisor_objects,
|
||||
FOR_EACH_OBJECT_PROMISOR_ONLY);
|
||||
FOR_EACH_OBJECT_PROMISOR_ONLY |
|
||||
FOR_EACH_OBJECT_PACK_ORDER);
|
||||
}
|
||||
promisor_objects_prepared = 1;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче