From 585aeabfd21d1f678f80e3782b3fd3c29c469320 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 13 Jan 2020 07:48:49 +0300 Subject: 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. --- tools/clang-format/.gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 tools/clang-format/.gitattributes (limited to 'tools/clang-format/.gitattributes') 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 -- cgit v1.2.3