aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-graph.c
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2025-05-16 18:12:00 +0000
committerJunio C Hamano <gitster@pobox.com>2025-05-16 12:15:40 -0700
commit206a1bb203613b6550f8acfdf300f822bfa3c985 (patch)
tree6e6879b93c922778ebdec74a347aa1e7ef194973 /builtin/commit-graph.c
parentscalar: enable path-walk during push via config (diff)
downloadgit-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