diff options
| author | Derrick Stolee <stolee@gmail.com> | 2025-05-16 18:12:00 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-05-16 12:15:40 -0700 |
| commit | 206a1bb203613b6550f8acfdf300f822bfa3c985 (patch) | |
| tree | 6e6879b93c922778ebdec74a347aa1e7ef194973 /builtin/commit-graph.c | |
| parent | scalar: enable path-walk during push via config (diff) | |
| download | git-206a1bb203613b6550f8acfdf300f822bfa3c985.tar.gz git-206a1bb203613b6550f8acfdf300f822bfa3c985.zip | |
pack-objects: refactor path-walk delta phase
Previously, the --path-walk option to 'git pack-objects' would compute
deltas inline with the path-walk logic. This would make the progress
indicator look like it is taking a long time to enumerate objects, and
then very quickly computed deltas.
Instead of computing deltas on each region of objects organized by tree,
store a list of regions corresponding to these groups. These can later
be pulled from the list for delta compression before doing the "global"
delta search.
This presents a new progress indicator that can be used in tests to
verify that this stage is happening.
The current implementation is not integrated with threads, but we are
setting it up to arrive in the next change.
Since we do not attempt to sort objects by size until after exploring
all trees, we can remove the previous change to t5530 due to a different
error message appearing first.
Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions
