diff options
Diffstat (limited to 'git-hooks/pre-commit')
-rwxr-xr-x | git-hooks/pre-commit | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit index 2e1ebf8212f2..495dc169aea8 100755 --- a/git-hooks/pre-commit +++ b/git-hooks/pre-commit @@ -64,6 +64,9 @@ sub check_whitespaces($) if (/^(?:[<>=]){7}$/) { bad_line("unresolved merge conflict", $src_full); } + if (/SAL_DEBUG/) { + bad_line("temporary debug in commit", $_, $src_limited); + } } } if ( $found_bad) |