From: Junio C Hamano Date: Thu, 27 Oct 2016 04:13:39 GMT Subject: Re: [PATCHv2 1/2] attr: convert to new threadsafe API Message-ID: In-Reply-To: Stefan Beller 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.