diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-08 19:10:45 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-08 19:10:45 (GMT) |
commit | d53ceecb25f336fd1e7e5d9a6ae52599ff2cb12b (patch) | |
tree | bc59b7ea1adf2b94c1594dfd74d7f9353386e133 /BuildTools/Git/Hooks/pre-commit | |
parent | 0313b451afbeffc33cc0060ce6fd7b4f2ee9a2bb (diff) | |
parent | f2637331516790242317997ca099e1bc1901c935 (diff) | |
download | swift-d53ceecb25f336fd1e7e5d9a6ae52599ff2cb12b.zip swift-d53ceecb25f336fd1e7e5d9a6ae52599ff2cb12b.tar.bz2 |
Merge branch 'copyrights'
Diffstat (limited to 'BuildTools/Git/Hooks/pre-commit')
-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 |