[twitter] Removed twitter from git hook
This commit is contained in:
parent
6a8bc89f3a
commit
b4b7504a64
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
# client-side git-hook - checks commit message style
|
# client-side git-hook - checks commit message style
|
||||||
|
|
||||||
pattern='\[(core|frontend|twitter|telegram|email|xmpp|mastodon|tests|doc|misc)\] [[:upper:]].*[^.]'
|
pattern='\[(core|frontend|telegram|email|xmpp|mastodon|tests|doc|misc)\] [[:upper:]].*[^.]'
|
||||||
head -n 1 "$1" | egrep -x "$pattern" > /dev/null
|
head -n 1 "$1" | egrep -x "$pattern" > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "commit message doesn't match \"$pattern\"" >&2
|
echo "commit message doesn't match \"$pattern\"" >&2
|
||||||
|
|
Loading…
Reference in a new issue