summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/git-pre-commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/git-pre-commit.py b/util/git-pre-commit.py
index 353850846..480bba1c9 100755
--- a/util/git-pre-commit.py
+++ b/util/git-pre-commit.py
@@ -75,7 +75,7 @@ for status, fname in git.status(filter="MA", cached=True):
verifiers = [ v(ui, opts, base=repo_base) for v in all_verifiers ]
for v in verifiers:
- if v.check(fname, regions):
+ if not v.skip(fname) and v.check(fname, regions):
failing_files.add(fname)
if failing_files: