attr: convert "macro_ok" into a flags field
authorJeff King <peff@peff.net>
Tue, 16 Feb 2021 14:44:25 +0000 (09:44 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Feb 2021 17:41:32 +0000 (09:41 -0800)
commitdbf387d550d679369f3bbbcf2c25ed03f7ff851f
tree398530a1425dc0f7d0830ece384b118e0abe67e8
parent00611d8440ecb64f2c252def017e90c87e55526a
attr: convert "macro_ok" into a flags field

The attribute code can have a rather deep callstack, through
which we have to pass the "macro_ok" flag. In anticipation
of adding other flags, let's convert this to a generic
bit-field.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
attr.c