aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/clang-format/.gitattributes
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-13 07:48:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-13 08:01:21 +0300
commit585aeabfd21d1f678f80e3782b3fd3c29c469320 (patch)
tree73113ba05d8540979f2d3594caf1df93663a5be6 /tools/clang-format/.gitattributes
parentAppVeyor: fast_finish (diff)
downloadcmake-common-585aeabfd21d1f678f80e3782b3fd3c29c469320.tar.gz
cmake-common-585aeabfd21d1f678f80e3782b3fd3c29c469320.zip
add clang-format.sh
This allows to call clang-format in either the in-place editing mode (default), or the diff mode (`--diff`, will only print the unified diff between the formatted and the original files.
Diffstat (limited to '')
-rw-r--r--tools/clang-format/.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang-format/.gitattributes b/tools/clang-format/.gitattributes
new file mode 100644
index 0000000..dfdb8b7
--- /dev/null
+++ b/tools/clang-format/.gitattributes
@@ -0,0 +1 @@
+*.sh text eol=lf