Store the branch name for the lulz.
[git-central.git] / client / commit-msg-trac
1 #!/bin/sh
2
3 grep -i '\(\(re\|refs\|qa\) #[0-9]\+\)\|\(no ticket\)' "$1" > /dev/null
4
5 if [ $? -ne 0 ]
6 then
7         echo "Please reference a ticket"
8         exit 1
9 fi
10