diff options
Diffstat (limited to 'BuildTools/Git')
-rwxr-xr-x | BuildTools/Git/Hooks/pre-commit | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/BuildTools/Git/Hooks/pre-commit b/BuildTools/Git/Hooks/pre-commit index 9ffc1c7..1e3e941 100755 --- a/BuildTools/Git/Hooks/pre-commit +++ b/BuildTools/Git/Hooks/pre-commit @@ -5,3 +5,8 @@ if ! BuildTools/CheckTabs.py; then echo "Expanded tabs found. Aborting commit." exit -1 fi + +echo "Checking copyrights ..." +if ! BuildTools/Copyrighter.py check-all-copyrights; then + echo "Copyright error found. Aborting commit." + exit -1 |