attr.c: update a stale comment on "struct match_attr"

When 82dce998 (attr: more matching optimizations from .gitignore, 2012-10-15) changed a pointer to a string "*pattern" into an embedded "struct pattern" in struct match_attr, it forgot to update the comment that describes the structure. Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jan 27, 2017 at 18:01 UTC 4894f4ffce3cc6c4664027de78c3bc281cda2979
1 file changed +2 -3
attr.c
+2 -3
@@ -131,9 +131,8 @@ struct pattern {
131 * If is_macro is true, then u.attr is a pointer to the git_attr being
132 * defined.
133 *
134 - * If is_macro is false, then u.pattern points at the filename pattern
135 - * to which the rule applies. (The memory pointed to is part of the
136 - * memory block allocated for the match_attr instance.)
134 + * If is_macro is false, then u.pat is the filename pattern to which the
135 + * rule applies.
136 *
137 * In either case, num_attr is the number of attributes affected by
138 * this rule, and state is an array listing them. The attributes are