Re: [PATCH 2/2] strbuf: retire strbuf_commented_lines()
On Thu, Sep 12, 2024, at 22:53, Junio C Hamano wrote:
Show 7 quoted lines
> The API allows the caller to pass any string as the comment prefix,
> but in reality, everybody passes the comment_line_str from the
> environment.
>
> Replace this overly flexible API with strbuf_comment_lines() that
> does not allow customization of the comment_line_str (usually '#'
> but can be configured via the core.commentChar).
core.commentChar or core.commentString.
--
Kristoffer Haugsbakk