aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/checkpatch.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/checkpatch.sh b/tools/checkpatch.sh
new file mode 100644
index 0000000..33b6dfc
--- /dev/null
+++ b/tools/checkpatch.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+#
+
+git format-patch -M --stdout HEAD^ | tools/scripts/checkpatch.pl - --no-tree