summaryrefslogtreecommitdiffstats
path: root/util/gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'util/gitconfig')
-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 027eec0705f5..0644b7ff865d 100755
--- a/util/gitconfig/pre-commit
+++ b/util/gitconfig/pre-commit
@@ -24,5 +24,6 @@ PATCHDIFF=$(git diff --cached --src-prefix=a/ --dst-prefix=b/)
if printf "%s\n" "$PATCHDIFF" | grep -q "@@"; then
echo
echo "Running checkpatch"
- printf "%s\n" "$PATCHDIFF" | util/lint/lint-007-checkpatch diff
+ printf "%s\n" "$PATCHDIFF" | util/lint/lint-007-checkpatch diff \
+ || (echo "Please consider fixing these issues." ;sleep 5) ; true
fi