blob: 57526739906ea5599983626d030203f8f279b766 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
if [ $(git diff -G PASS -i HEAD~1..HEAD | wc -l) != 0 ]; then
echo "#######################################################"
echo "# You committed something containing the string PASS. #"
echo "# Please make sure this is safe before pushing. #"
echo "#######################################################"
git diff -G PASS -i HEAD~1..HEAD
fi
|