Re: [PATCH v2 03/12] attr.c: update a stale comment on "struct match_attr"

2016-05-16 Thread Junio C Hamano
On Mon, May 16, 2016 at 4:34 PM, Stefan Beller wrote: >> - * If is_macro is false, then u.pattern points at the filename pattern >> - * to which the rule applies. (The memory pointed to is part of the >> - * memory block allocated for the match_attr instance.) >> + * If is_macro is false, then u.

Re: [PATCH v2 03/12] attr.c: update a stale comment on "struct match_attr"

2016-05-16 Thread Stefan Beller
On Mon, May 16, 2016 at 2:05 PM, Junio C Hamano wrote: > 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

[PATCH v2 03/12] attr.c: update a stale comment on "struct match_attr"

2016-05-16 Thread Junio C Hamano
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 --- attr.c | 5 ++--- 1 file