summaryrefslogtreecommitdiff
path: root/util/gitconfig/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'util/gitconfig/pre-commit')
-rwxr-xr-xutil/gitconfig/pre-commit3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit
index ccf78d376c..70cd6eade1 100755
--- a/util/gitconfig/pre-commit
+++ b/util/gitconfig/pre-commit
@@ -1,2 +1,3 @@
#!/bin/sh
-exec %MAKE% lint-stable
+%MAKE% lint-stable
+git diff --cached | util/lint/checkpatch.pl --no-signoff -q -