Re: [PATCH 2/9] strbuf: add strbuf_tolower function
- From
Jeff King <peff@peff.net>
- Date
- May 23, 2014, 20:05 UTC
- Message-ID
- <20140523200534.GD19088@sigill.intra.peff.net>
- In-Reply-To
- <0E298290-243D-46E5-A177-C6D3553D7153@gmail.com>
On Thu, May 22, 2014 at 03:52:08PM -0700, Kyle J. McKay wrote:
Show 12 quoted lines
> >Christian brought this up elsewhere, and I agree it's probably better to > >work over the whole buffer, NULs included. I'm happy to re-roll (or you > >can just pick up the version of the patch in this thread), > > The only reason I brought up the code difference in the first place was that > the comment was "This makes config's lowercase() function public" which made > me expect to see basically the equivalent of replacing a "static" with an > "extern", but actually the function being made public was a different > implementation than config's lowercase() function. So it looks like the > original PATCH 2/9 version of the code is best, but perhaps the comment can > be tweaked a bit to not convey the same impression I got. Maybe something > like "Replace config's lowercase() function with a public one".
Yeah, sorry if it sounded like I was complaining about your review elsewhere. I mostly found it amusing that I got two opposite-direction reviews.
I agree that clarifying the situation in the commit message is best, and I've done that in the version I just posted.
-Peff