mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
Add whitespace check to prepare-commit.sh
This commit is contained in:
parent
5148b7accb
commit
25f137053d
@ -142,6 +142,8 @@ else
|
|||||||
rm $SIPIFYDIFF
|
rm $SIPIFYDIFF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If there are whitespace errors, print the offending file names and fail.
|
||||||
|
exec git diff-index --check --cached HEAD --
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user