attr: pass struct attr_check to collect_some_attrs
commit6bc2e3f709d04e416f3b5d1e23f2ac31f4cbc1d1
authorBrandon Williams <bmwill@google.com>
Sat, 28 Jan 2017 02:01:59 +0000 (27 18:01 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Feb 2017 21:46:52 +0000 (1 13:46 -0800)
treefbb763b5006ae1e94aa8b0d9cae29609edf3b9fa
parent1295c2152457c2267d605d353332ae4b3e5e5d5c
attr: pass struct attr_check to collect_some_attrs

The old callchain used to take an array of attr_check_item items.
Instead pass the 'attr_check' container object to 'collect_some_attrs()'
and access the fields in the data structure directly.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c