diff options
author | Derrick Stolee <stolee@gmail.com> | 2025-05-16 18:12:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-05-16 12:15:40 -0700 |
commit | 4705889c3dfbb38f14c3569b489b4b2a00b4186a (patch) | |
tree | 469595e1218d3484611ab30c063819188c07d4d1 /commit-graph.c | |
parent | e5394794a529beb0aee747f412c390a59949a03d (diff) |
path-walk: add new 'edge_aggressive' option
In preparation for allowing both the --shallow and --path-walk options
in the 'git pack-objects' builtin, create a new 'edge_aggressive' option
in the path-walk API. This option will help walk the boundary more
thoroughly and help avoid sending extra objects during fetches and
pushes.
The only use of the 'edge_hint_aggressive' option in the revision API is
within mark_edges_uninteresting(), which is usually called before
between prepare_revision_walk() and before visiting commits with
get_revision(). In prepare_revision_walk(), the UNINTERESTING commits
are walked until a boundary is found.
Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions