path: root/ws.c
diff options
authorJunio C Hamano <>2017-01-30 18:06:08 (GMT)
committerJunio C Hamano <>2017-02-01 21:46:52 (GMT)
commit7f8641112de8724a565a47b0f0b2a9b826b6baa9 (patch)
treea543fba28417ba7e054d11f812f53ce8c33cf60e /ws.c
parent37293768d0482f41c5aa7d34cf91b03fdfee9d4e (diff)
attr: convert git_all_attrs() to use "struct attr_check"
This updates the other two ways the attribute check is done via an array of "struct attr_check_item" elements. These two niches appear only in "git check-attr". * The caller does not know offhand what attributes it wants to ask about and cannot use attr_check_initl() to prepare the attr_check structure. * The caller may not know what attributes it wants to ask at all, and instead wants to learn everything that the given path has. Such a caller can call attr_check_alloc() to allocate an empty attr_check, and then call attr_check_append() to add attribute names one by one. Signed-off-by: Junio C Hamano <> Signed-off-by: Stefan Beller <> Signed-off-by: Brandon Williams <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'ws.c')
0 files changed, 0 insertions, 0 deletions