diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-01-02 14:16:11 +0100 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-01-02 14:16:11 +0100 |
commit | a781deee74a8a5e1eb9429229974d4f70137ae09 (patch) | |
tree | db8cdde880586a52904786415a62e802a02ad0a4 /tools | |
parent | 2cf71ffbfda49bc3791490f4d035897bb35298f8 (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')
-rwxr-xr-x | tools/check_clang_format | 2 |
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 |