Re: [PATCH v3 4/5] repack: optionally assume transitive kept packs

2019-06-25 Thread Dr N.W. Filardo
On 2019-06-24 14:21, Derrick Stolee wrote: On 6/24/2019 8:07 AM, Nathaniel Filardo wrote: If the user is careful to mark .pack files as kept only when they refer to (other) kept packs, then we can rely on this when walking the object graph in subsequent repack operations and reduce the time and

Re: [PATCH v3 4/5] repack: optionally assume transitive kept packs

2019-06-24 Thread Derrick Stolee
On 6/24/2019 8:07 AM, Nathaniel Filardo wrote: > If the user is careful to mark .pack files as kept only when they refer > to (other) kept packs, then we can rely on this when walking the object > graph in subsequent repack operations and reduce the time and memory > spent building the object graph

[PATCH v3 4/5] repack: optionally assume transitive kept packs

2019-06-24 Thread Nathaniel Filardo
If the user is careful to mark .pack files as kept only when they refer to (other) kept packs, then we can rely on this when walking the object graph in subsequent repack operations and reduce the time and memory spent building the object graph. Towards that end, then, teach git repack to enumerat