Thread (22 messages) flat view 22 messages, 3 authors, 2016-06-16

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

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:19:25

On Mon, May 16, 2016 at 4:34 PM, Stefan Beller [off-list ref] wrote:
quoted
- * 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.pat is the filename pattern to which the
+ * rule applies.
and we don't need to talk about memory ownership here as that
is clear for 'struct pattern' documented elsewhere?
It is embedded in the structure which you cannot lose independently, no?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help