summaryrefslogtreecommitdiff
path: root/tools/check_clang_format
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-01-02 14:16:11 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2017-01-02 14:16:11 +0100
commita781deee74a8a5e1eb9429229974d4f70137ae09 (patch)
treedb8cdde880586a52904786415a62e802a02ad0a4 /tools/check_clang_format
parent2cf71ffbfda49bc3791490f4d035897bb35298f8 (diff)
Add script that shows the diff for clang-format on changed files
This is a starting point to introduce clang-format.
Diffstat (limited to 'tools/check_clang_format')
-rwxr-xr-xtools/check_clang_format2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/check_clang_format b/tools/check_clang_format
new file mode 100755
index 0000000..22a5133
--- /dev/null
+++ b/tools/check_clang_format
@@ -0,0 +1,2 @@
+#!/bin/bash
+git clang-format --style=file --diff