Extras: Add a checkpatch git pre-commit hook
[lttng-tools.git] / extras / .checkpatch.conf
diff --git a/extras/.checkpatch.conf b/extras/.checkpatch.conf
new file mode 100644 (file)
index 0000000..936f435
--- /dev/null
@@ -0,0 +1,7 @@
+# Not a kernel tree
+--no-tree
+
+# Ignore braces {} are not necessary for single statement blocks warning.
+# We enforce usage of {} even on single statement blocks.
+# See CodingStyles for more information.
+--ignore BRACES_SINGLE_STMT
This page took 0.022727 seconds and 4 git commands to generate.