Fix trailing space.
[git-central.git] / client / commit-msg-trac
1 #!/bin/sh
2
3 if test -f $GIT_DIR/MERGE_MSG ; then
4         exit 0
5 fi
6
7 grep -i '\(\(re\|refs\|qa\) #[0-9]\+\)\|\(no ticket\)' "$1" > /dev/null
8
9 if [ $? -ne 0 ]
10 then
11         echo "Please reference a ticket"
12         exit 1
13 fi
14