diff options
author | Derrick Stolee <derrickstolee@github.com> | 2022-03-09 16:01:35 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-09 18:25:27 (GMT) |
commit | 09d4a79effac002399557392e21c9f8829056ca3 (patch) | |
tree | aa39b5848db8d98f12c3df1e4fc1859d3c52c6d4 /builtin/pack-objects.c | |
parent | 7940941de1f23d02c60581cc90a193988e5e2fe0 (diff) | |
download | git-09d4a79effac002399557392e21c9f8829056ca3.zip git-09d4a79effac002399557392e21c9f8829056ca3.tar.gz git-09d4a79effac002399557392e21c9f8829056ca3.tar.bz2 |
pack-bitmap: drop filter in prepare_bitmap_walk()
Now that all consumers of prepare_bitmap_walk() have populated the
'filter' member of 'struct rev_info', we can drop that extra parameter
from the method and access it directly from the 'struct rev_info'.
Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
-rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index da0de0c..ddd698a 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -3651,7 +3651,7 @@ static int pack_options_allow_reuse(void) static int get_object_list_from_bitmap(struct rev_info *revs) { - if (!(bitmap_git = prepare_bitmap_walk(revs, &revs->filter, 0))) + if (!(bitmap_git = prepare_bitmap_walk(revs, 0))) return -1; if (pack_options_allow_reuse() && |