[gcc r16-4048] toplevel: Fix syntax issue in .editorconfig
Richard Earnshaw
rearnsha@gcc.gnu.org
Tue Sep 23 12:20:32 GMT 2025
https://gcc.gnu.org/g:b8701893e90b7121591531faf8a72a0589f1f1d5
commit r16-4048-gb8701893e90b7121591531faf8a72a0589f1f1d5
Author: Richard Earnshaw <rearnsha@arm.com>
Date: Tue Sep 23 13:17:01 2025 +0100
toplevel: Fix syntax issue in .editorconfig
.editorconfig entries need to be a single filesystem glob pattern.
ChangeLog:
* .editorconfig: Fix glob patterns.
Diff:
---
.editorconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.editorconfig b/.editorconfig
index 9661e7e10d77..af1a28411da9 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -5,14 +5,14 @@ root = true
end_of_line = lf
insert_final_newline = true
-[*.h,*.cc]
+[*.{h,cc}]
charset = utf-8
indent_style = tab
indent_size = 2
tab_width = 8
trim_trailing_whitespace = true
-[Makefile*,ChangeLog*]
+[{Makefile,ChangeLog}*]
indent_style = tab
indent_size = 8
trim_trailing_whitespace = true
More information about the Gcc-cvs
mailing list