On Thu, Sep 12, 2024, at 22:53, Junio C Hamano wrote: > 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