Re: [PATCH 2/9] strbuf: add strbuf_tolower function
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 22, 2014, 21:04 UTC
- Message-ID
- <xmqqppj5msob.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <20140522184113.GC1167@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 7 quoted lines
>> > Yes, and that would be fine with me (I actually wrote strbuf_tolower for >> > my own use, and _then_ realized that we already had such a thing that >> > could be replaced). >> ... > ... I think > the bigger question is: is this refactor worth doing, since there is > only one caller?
If you wrote it for your own use and then realized that it is applicable to this codepath, wouldn't that say that there are multiple potential callers that would benefit from having it?