[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
|
||||
|
||||
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
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "commit message doesn't match \"$pattern\"" >&2
|
||||
|
|
Loading…
Reference in a new issue