aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-07 12:25:27 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-07 12:25:27 -0700
commit6623b73ca69048e996112edf3e7a408ba6edaa43 (patch)
tree9b11b83e5266ea43328455243f96d6605a7f7c54
parent8c13c31404edfd543ed506039dc3ef044f5ff795 (diff)
parent3721541d35a0112e143c74e11a23cd329600f40e (diff)
downloadgit-6623b73ca69048e996112edf3e7a408ba6edaa43.tar.xz
Merge branch 'jt/clang-format-foreach-wo-space-before-parenthesis'
Clang-format update to let our control macros formatted the way we had them traditionally, e.g., "for_each_string_list_item()" without space before the parentheses. * jt/clang-format-foreach-wo-space-before-parenthesis: clang-format: exclude control macros from SpaceBeforeParens
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index dcfd0aad60..86b4fe33e5 100644
--- a/.clang-format
+++ b/.clang-format
@@ -149,7 +149,7 @@ SpaceBeforeCaseColon: false
# f();
# }
# }
-SpaceBeforeParens: ControlStatements
+SpaceBeforeParens: ControlStatementsExceptControlMacros
# Don't insert spaces inside empty '()'
SpaceInEmptyParentheses: false