We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f900d8d commit 9e97208Copy full SHA for 9e97208
1 file changed
contrib/util/commit-msg
@@ -67,14 +67,14 @@ fi
67
cnt=${#MESSAGE[@]}
68
for (( i = 3 ; i <= cnt ; i++ ))
69
do
70
- if [[ ${#MESSAGE[$i]} -gt 72 ]]; then
+ if [[ ${#MESSAGE[$i]} -gt 72 ]] && [[ ${MESSAGE[$i]:0:1} != '#' ]]; then
71
echo "${RED}ERROR on line $i - can't be longer than 72 characters."
72
echo ""
73
echo "Read more at http://docs.deis.io/en/latest/contributing/standards/$NORMAL"
74
exit 1
75
fi
76
done
77
78
-echo "Your commit message follows the deis commit style"
+echo "Your commit message follows the deis commit style."
79
80
exit 0
0 commit comments