Re: [PATCHv2 1/2] attr: convert to new threadsafe API
From: Junio C Hamano <hidden> Date: 2016-10-27 04:13:50
Stefan Beller [off-list ref] writes:
Yeah, I can make it work without exposing struct git_attr.
You completely misunderstood me. "struct git_attr" MUST be visible
to the users so that they can ask for the name in git_check.attr[0].
What would be nice to hide if you can is the function to intern a
string into a pointer to struct git_attr, i.e. git_attr() function.