summaryrefslogtreecommitdiff
path: root/hooks/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/pre-commit')
-rwxr-xr-xhooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 6dd281c4a..ec2b5b77e 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -10,7 +10,7 @@ if ! git diff --cached --check -- $paths_to_check ; then
10 cat<<END 10 cat<<END
11 11
12Error: This commit would contain trailing spaces or tabs, which is against this repo's policy. 12Error: This commit would contain trailing spaces or tabs, which is against this repo's policy.
13Please correct those issues before commiting. (Use 'git diff --check' for more details) 13Please correct those issues before committing. (Use 'git diff --check' for more details)
14If you know what you are doing, you can try 'git commit --no-verify' to bypass the check 14If you know what you are doing, you can try 'git commit --no-verify' to bypass the check
15END 15END
16 exit 1 16 exit 1