From: Justin Tobler Date: Sat, 27 Sep 2025 15:51:57 GMT Subject: Re: [PATCH v4 3/7] clang-format: exclude control macros from SpaceBeforeParens Message-ID: <5g4ysjfqrjltnqr35xh4efhzmqmzpmut44pherfsjzqinfbpmo@6ax5lzob7sox> In-Reply-To: On 25/09/27 08:40AM, Junio C Hamano wrote: > Justin Tobler writes: > > > The formatter currently suggests adding a space between a control macro > > and parentheses. In the Git project, this is not typically expected. Set > > `SpaceBeforeParens` to `ControlStatementsExceptControlMacros` > > accordingly. > > > > Helped-by: Karthik Nayak > > Signed-off-by: Justin Tobler > > --- > > .clang-format | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > While this may be a welcome addition, I somehow do not think it > belongs as [3/7] to this series, whose theme is about "git repo > stats". That's completely fair. I noticed the formatter flagged this issue while working on this series, but I was also on the fence as to whether it should be submitted separately. > Perhaps make it a separate topic and have it graduate sooner? I'll send this patch as a separate topic and can send another version of this series without this patch. Thanks, -Justin