diff options
author | Brad King <brad.king@kitware.com> | 2023-01-17 19:23:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 16:48:49 (GMT) |
commit | 48639aa8fc3f63ecf01341acc4ac5d6ca7070364 (patch) | |
tree | 2dfe131a092cec9ac8231e65f8ac4db1383493a0 /.gitattributes | |
parent | 9ce1c870374dc1ab910ed921f41d03df75f254f3 (diff) | |
download | CMake-48639aa8fc3f63ecf01341acc4ac5d6ca7070364.zip CMake-48639aa8fc3f63ecf01341acc4ac5d6ca7070364.tar.gz CMake-48639aa8fc3f63ecf01341acc4ac5d6ca7070364.tar.bz2 |
clang-format.bash: Use generic clang-format attribute
Specify the clang-format version in the attribute value instead of its
name.
Issue: #24315
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes index 71ecacf..43ad3b7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,11 +4,11 @@ .editorconfig export-ignore # Custom attribute to mark sources as using our C code style. -[attr]our-c-style whitespace=tab-in-indent format.clang-format-6.0 +[attr]our-c-style whitespace=tab-in-indent format.clang-format=6.0 # Custom attribute to mark sources as generated. # Do not perform whitespace checks. Do not format. -[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format-6.0 +[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format bootstrap eol=lf configure eol=lf |