diff options
Diffstat (limited to 'hooks/pre-commit')
| -rwxr-xr-x | hooks/pre-commit | 2 |
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 | ||
| 12 | Error: This commit would contain trailing spaces or tabs, which is against this repo's policy. | 12 | Error: This commit would contain trailing spaces or tabs, which is against this repo's policy. |
| 13 | Please correct those issues before commiting. (Use 'git diff --check' for more details) | 13 | Please correct those issues before committing. (Use 'git diff --check' for more details) |
| 14 | If you know what you are doing, you can try 'git commit --no-verify' to bypass the check | 14 | If you know what you are doing, you can try 'git commit --no-verify' to bypass the check |
| 15 | END | 15 | END |
| 16 | exit 1 | 16 | exit 1 |