SignalServiceKit/Utilities/post-commit
2017-03-28 21:09:19 -04:00

13 lines
282 B
Bash
Executable File

#!/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