Merge pull request #151 from WhisperSystems/mkirk/freebie-check-script

post commit which double checks for freebie presence
pull/1/head
Michael Kirk 9 years ago committed by GitHub
commit 968066eff6

@ -0,0 +1,12 @@
#!/bin/bash
git log -1 HEAD | grep -i FREEBIE > /dev/null
if [[ $? -ne 0 ]]
then
cat <<EOM
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! You forgot to include FREEBIE in your commit message. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
EOM
fi
Loading…
Cancel
Save