Commit 7940941
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 <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent ffaa137 commit 7940941
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3651 | 3651 | | |
3652 | 3652 | | |
3653 | 3653 | | |
3654 | | - | |
| 3654 | + | |
3655 | 3655 | | |
3656 | 3656 | | |
3657 | 3657 | | |
| |||
3727 | 3727 | | |
3728 | 3728 | | |
3729 | 3729 | | |
| 3730 | + | |
3730 | 3731 | | |
3731 | 3732 | | |
3732 | 3733 | | |
| |||
3777 | 3778 | | |
3778 | 3779 | | |
3779 | 3780 | | |
3780 | | - | |
| 3781 | + | |
3781 | 3782 | | |
3782 | 3783 | | |
3783 | 3784 | | |
| |||
0 commit comments