diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-07-10 21:12:22 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-10 21:48:55 (GMT) |
commit | b269ac53c07aa46d5a88d05dac8216d189e69a50 (patch) | |
tree | b1cfa35537b5721776c98277024291fa7352aae7 /ref-filter.c | |
parent | 8255dd8a3dce094129690d17595dc822171d1e61 (diff) | |
download | git-b269ac53c07aa46d5a88d05dac8216d189e69a50.zip git-b269ac53c07aa46d5a88d05dac8216d189e69a50.tar.gz git-b269ac53c07aa46d5a88d05dac8216d189e69a50.tar.bz2 |
refs: plumb `exclude_patterns` argument throughout
The subsequent patch will want to access an optional `excluded_patterns`
array within `refs/packed-backend.c` that will cull out certain
references matching any of the given patterns on a best-effort basis.
To do so, the refs subsystem needs to be updated to pass this value
across a number of different locations.
Prepare for a future patch by introducing this plumbing now, passing
NULLs at top-level APIs in order to make that patch less noisy and more
easily readable.
Signed-off-by: Taylor Blau <me@ttaylorr.co>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
-rw-r--r-- | ref-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c index ec9b79c..c72d016 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -2215,7 +2215,7 @@ static int for_each_fullref_in_pattern(struct ref_filter *filter, return refs_for_each_fullref_in_prefixes(get_main_ref_store(the_repository), NULL, filter->name_patterns, - cb, cb_data); + NULL, cb, cb_data); } /* |