]> git.99rst.org Git - git.git/commit
pack-objects: use rev.filter when possible
authorDerrick Stolee <redacted>
Wed, 9 Mar 2022 16:01:34 +0000 (16:01 +0000)
committerJunio C Hamano <redacted>
Wed, 9 Mar 2022 18:25:26 +0000 (10:25 -0800)
commit7940941de1f23d02c60581cc90a193988e5e2fe0
tree7575d14928affe8fea827394bc9c316a5fb9b510
parentffaa137f646803749cf81017d3208be2ce8a2964
pack-objects: use rev.filter when possible

In builtin/pack-objects.c, we use a 'filter_options' global to populate
the --filter=<X> argument. The previous change created a pointer to a
filter option in 'struct rev_info', so we can use that pointer here as a
start to simplifying some usage of object filters.

Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/pack-objects.c
git clone https://git.99rst.org/PROJECT