From a781deee74a8a5e1eb9429229974d4f70137ae09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Mon, 2 Jan 2017 14:16:11 +0100 Subject: Add script that shows the diff for clang-format on changed files This is a starting point to introduce clang-format. --- tools/check_clang_format | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 tools/check_clang_format (limited to 'tools') 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 -- cgit v1.2.3