]> git.99rst.org Git - git.git/commit
clang-format: exclude control macros from SpaceBeforeParens
authorJustin Tobler <redacted>
Sat, 27 Sep 2025 14:50:45 +0000 (09:50 -0500)
committerJunio C Hamano <redacted>
Sun, 28 Sep 2025 15:37:23 +0000 (08:37 -0700)
commit3721541d35a0112e143c74e11a23cd329600f40e
tree9020f4fac190359f5a69bcdd12a9b88c3ac6fd7f
parentc44beea485f0f2feaf460e2ac87fdd5608d63cf0
clang-format: exclude control macros from SpaceBeforeParens

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 <redacted>
Signed-off-by: Justin Tobler <redacted>
Signed-off-by: Junio C Hamano <redacted>
.clang-format
git clone https://git.99rst.org/PROJECT