diff options
author | Brad King <brad.king@kitware.com> | 2023-01-17 14:23:59 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 11:48:49 -0500 |
commit | 48639aa8fc3f63ecf01341acc4ac5d6ca7070364 (patch) | |
tree | 2dfe131a092cec9ac8231e65f8ac4db1383493a0 /Source | |
parent | 9ce1c870374dc1ab910ed921f41d03df75f254f3 (diff) | |
download | cmake-48639aa8fc3f63ecf01341acc4ac5d6ca7070364.tar.gz |
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 'Source')
-rw-r--r-- | Source/.gitattributes | 2 | ||||
-rw-r--r-- | Source/CursesDialog/form/.gitattributes | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/.gitattributes b/Source/.gitattributes index d0aedc2001..4b868dda54 100644 --- a/Source/.gitattributes +++ b/Source/.gitattributes @@ -1,4 +1,4 @@ CMakeVersion.cmake export-subst # Do not format third-party sources. -/kwsys/** -format.clang-format-6.0 +/kwsys/** -format.clang-format diff --git a/Source/CursesDialog/form/.gitattributes b/Source/CursesDialog/form/.gitattributes index 6dfa6277f3..6e255e4165 100644 --- a/Source/CursesDialog/form/.gitattributes +++ b/Source/CursesDialog/form/.gitattributes @@ -1,2 +1,2 @@ * -whitespace -* -format.clang-format-6.0 +* -format.clang-format |